more updates about fixing insertionSort()