sorted lambda x code example Example: sorted lambda sorted(student_tuples, key=lambda student: student[2])