second type of merge sort done