insertion sort and merge sort