Untested implementation of pre-sorted joins