I need help figuring out what sorting algorithm is being used on this array:
Code:
3, 45, 12, 7, 9, 16, 22, 55, 8
3, 7, 45, 12, 8, 9, 16, 22, 55
3, 7, 8, 45, 12, 9, 16, 22, 55
3, 7, 8, 9, 45, 12, 16, 22, 55
3, 7, 8, 9, 12, 45, 16, 22, 55
...
I've been at it for a while and it's driving me nuts.