โ† Amazon questions

Sort Record Tuples by Custom Criteria

Filed under Amazon

Sort a list of tuples containing (name, percentage, age) based on a custom priority: first by percentage (descending), then by age (ascending), and finally by name (alphabetical).

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.