Replacing custom mergesort impl with call to Collections.sort.