use PlannedIterator for ExternalSort