InsertionSort fix