Sort students by age and marks
Filed under ADP
The question
Implement a sorting mechanism for student records based on age. If two students have the same age, they should then be sorted by their marks.
No write-up yet. Related questions below have one.
Related ADP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.