This is an experiment I did trying to implement a selection sorting algorithm into Scratch. A selection sort algorithm takes an array of numbers and sorts them from least to greatest. Specifically, this algorithm first finds the minimum value in the array (list) and then swaps it with the first value in the array. It then repeats these steps until it loops through the entire array. I used java as a reference, with the list being treated as an array and used variables i and x for the loops.
Learned from AP Computer Science