Implement merging. Sorting is complete.