Order by word lengths

Write a function @length_sorted(f)@ that provided a list of words ff returns a list gg with the very same words of ff. Words in gg must appear in increasing lengths. Words of the same length must appear in alpabetical order. All characters in words are lowercase letters.

Sample session

Problem information

Author: ProAl

Generation: 2026-01-25T17:24:43.296Z

© Jutge.org, 2006–2026.
https://jutge.org