Python Sorting Lists in Lists
What's wrong with itemgetter?
lst.sort(key=lambda l: list(reversed(l)) should do the trick
Given: lst = [['John',3],['Blake',4],['Ted',3]]
Result: lst = [['John',3],['Ted',3],['Blake',4]]
I'm looking for a way to sort lists in lists first numerically then alphabetically without the use of the "itemgetter" syntax.