stringsort

(stringsort list)

The stringsort function sorts a list of string-items alphabetically, ascending.

If at least one element of the list is not a string, nil is returned.

Examples

: (stringsort '("hello" "abc" "xyz" "Hello" "123"))

("123" "abc" "Hello" "hello" "xyz")

Related Functions

acad_strlsort