Selection sort works by grabbing the first element, traversing the array to find the smallest value, and then swapping them.
Then looks at the second element, finds the next smallest element, and swaps them, and so on until the array is sorted.
500 ms
Current Minimum Currently Compared Swapping Elements Sorted Element