Update the MergeSort.