review insertion sort and merge sort