TopNProcessor.php Classes TopNProcessorHolds at most 2×$limit rows plus one batch; ties may order unlike ExternalSort.