Task: Sort a List with Two Keys - One in Reverse Order
Task: Sort a List with Two Keys - One in Reverse Order: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that sorts a list of tuples by two keys, where: 1. The first key is sorted in ascending order (case insensitive) 2. The second key is sorted in descending (reverse) order
The task
Write a Python script that sorts a list of tuples by two keys, where: 1. The **first key** is sorted in **ascending order** (case insensitive) 2. The **second key** is sorted in **descending (reverse) order**
Part of PrimeIntellect/Terminal-Lego-15k.