Name
lsort — Sort A List respecting locale
Synopsis
list
lsort
( |
list
LIST
) ; |
Description
Sort the list LIST according to the YCP builtin predicate >. Strings are compared using the current locale. Duplicates are not removed.
Usage
lsort (["česky", "slovensky", "německy", 2, 1]) -> [1,
2, "česky", "německy", "slovensky"]