Major overhaul of grade sorting to allow custom sorting for report card
subject lists.