1. Add a rule that generates two-phase sort and one-phase sort 2. Add phase for PhysicalSort TODO: I'll remove PhysicalLocalSort in next PR.