A program that utilizes Selection Sort to sort an array of numbers from smallest to largest. Press Space to run the program. Each value is selected randomly from 0 to 1000. I suggest turning on "Turbo Mode" (the program runs as fast as possible) when testing bigger arrays. You can do this by pressing the green flag while holding shift.
Each value in the array is represented with a number counting up from one called an item. This program repeatedly finds the smallest value in the array, starting from the first item. Then, it puts the smallest value at the top of the array and repeats the process, only this time using the second item. The program continues until every item in the array is sorted from smallest to biggest value. Here is the Wikipedia page for the Selection Sort Algorithm:https://en.wikipedia.org/wiki/Selection_sort