simplify ExternalSort