2013-04-11 01:07:29 -07:00
|
|
|
{{omit from|BBC BASIC}}
|
|
|
|
|
|
2016-12-05 22:15:40 +01:00
|
|
|
;Task:
|
|
|
|
|
Sort an array (or list) of strings in order of descending length, and in ascending lexicographic order for strings of equal length.
|
|
|
|
|
|
|
|
|
|
Use a sorting facility provided by the language/library, combined with your own callback comparison function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'''Note:''' Lexicographic order is case-insensitive.
|
|
|
|
|
<br><br>
|