313 B
313 B
Member References (#2)
The starter code defines a Student
class. Complete the implementation of
sortByGradeAndThenByName()
as an extension function to List<Student>
. First
sort the students by their grade in descending order (starting from the highest
grade), then sort by lastName
, then firstName
.