Could it be any simpler?
sortByListLengths : List (List a) -> List (List a) sortByListLengths xs = List.sortBy List.length xs
Back to problem