change the input of MergeSort