(acad_strlsort list)


Sort strings in alphabetical order.


This function sorts the list of strings in alphabetical order. The list contains one or more strings, which have been previously defined or returned with the quote (') function.

Examples

Code Returns
(acad_strlsort '("ssg" "hlg" "kng")) ("hlg" "kng" "ssg")
(setq holiday '("Sun" "Mon" "Sat"))
(acad_strlsort holiday)

("Mon" "Sat" "Sun")

NOTE The ' (quote) prefix is actually a LISP function that prevents another LISP function from evaluating the list.

Tell me about...

(list expression )

(listp item)

(reverse list)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language