fix for lazy sort merge
split sort and merge out of SortMergeJoin
separated sort and merge to create mergeSort for pre-sorted data