Sorting-a-Python-List na dwa pola

sorted_list = sorted(list, key=lambda x: (x[0], -x[1]))
Inquisitive Ibis