Quick grade sort