SortExec
Sort is a very special case for the CodegenSupport. It is not a source, but it need to process all its upstream results and sorted first, then invoke consume of downstream. Thus, it need to check shouldStop when it generating results for downstream.