You are viewing a single comment's thread. Return to all comments →
This is what you need to do:
return sorted(sorted(unsorted), key=len)
Big Sorting
You are viewing a single comment's thread. Return to all comments →
This is what you need to do:
return sorted(sorted(unsorted), key=len)