Tweak the merge sort.