Fixed insertionSort.