You are viewing a single comment's thread. Return to all comments →
sorted(unsorted, key = lambda x: (len(x), x))
Big Sorting
You are viewing a single comment's thread. Return to all comments →
sorted(unsorted, key = lambda x: (len(x), x))