1
1
Fork 0
AtomicKotlinCourse/Functional Programming/Member References/Exercise 2/task.md

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.