Lista sortowania Pythona według ostatniego elementu

output = sorted(my_list, key=lambda x: x[-1])
Anxious Armadillo