Renamed mergeSort to merge.