Sortieren Sie mehrere Schlüssel in Objektpython
s = sorted(s, key = lambda x: (x[1], x[2]))
Arrogant Anaconda
s = sorted(s, key = lambda x: (x[1], x[2]))
records.sort(
key = lambda l: (l[0], l[2])
)