Sorting gradesheets