Selection doesn't work, though?
Selection starts with the first element in the array, and then finds the max/min element and swaps the two. Insertion and bubble can work fine, selection can never.
If we were to get something like this:
1 2 3 4 6 5
Selection takes the value inside the first element: 1
It then finds the maximum, which is 6, and swaps them.
6 2 3 4 1 5
The smallest/largest value will always become the first element in the unsorted array, which means that it doesn't work with just the last two elements in an array on the first pass.