You are viewing a single comment's thread. Return to all comments →
Easy solution, first sort on basis of first value and then on length.
def bigSorting(arr): arr.sort() arr.sort(key=len) return arr
Seems like cookies are disabled on this browser, please enable them to open this website
Big Sorting
You are viewing a single comment's thread. Return to all comments →
Easy solution, first sort on basis of first value and then on length.