HF RL Explorer

Task: Sort a List by Multiple Attributes in Python

Task: Sort a List by Multiple Attributes in Python: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a Python solution that sorts a list of lists by multiple attributes efficiently. Given a list of lists where each inner list contains mixed data types (integers and strings), you…

The task

You need to implement a Python solution that sorts a list of lists by multiple attributes efficiently. Given a list of lists where each inner list contains mixed data types (integers and strings), you should be able to sort by multiple elements in a single operation rather than performing multiple separate sorts.

Part of PrimeIntellect/Terminal-Lego-15k.