Trying to sort a list of name, grade pairs