insert sort and merge sort