What is the most pythonic way to sort a list of lists with a tie-breaker?
I can sort by sub-list length (longest to shortest):
>>> l = [['c'], ['a', 'b'], ['b', 'c'], ['a', 'b', 'c']]
>>> list(reversed(sorted(l, key=len)))
[['a', 'b', 'c'], ['b', 'c'], ['a', 'b'], ['c']]
But I want to preserve order when the lengths are equal, so the output I want is:
[['a', 'b', 'c'], ['a', 'b'], ['b', 'c'], ['c']]