Sorting strings in an unusual way
This exercise intends to provide some knowledge on sorting being needed in subsequent exercises.
No. 195
Implementing unusual string sorting.
Q: |
Strings will often be sorted alphabetically: ant apple by eye it printer van x-ray In this exercise we want to sort strings by length and then alphabetically: by it ant eye van apple x-ray printer Hints:
|
A: |
|