Use in MergeJoinSorter, too.