Orders are [order_id, city, amount]. Write sort_orders(orders) returning order ids sorted by city A→Z, then amount high→low, then order_id.
sort_orders([[1, 'Pune', 500], [2, 'Delhi', 300], [3, 'Pune', 900], [4, 'Delhi', 300]]) → [2, 4, 3, 1]
sort_orders([]) → []
Submit runs 3 tests, including hidden edge cases.
Run your code to see the output here.