Sort list in the output of grade.