Fixed quick grade sort