How would I sort arrays as follows:
[10, 7, 12, 3, 5, 6] --> [10, 12, 3, 5, 6, 7]
[12, 8, 5, 9, 6, 10] --> [12, 5, 6, 8, 9, 10]
- keeping array[0] in place
- with the next highest integer(s) following (if there are any)
- then ascending from the lowest integer