Sorts a list of numbers.
(dos_sortnumbers list [ascending])
list
A list of real or integer values.
ascending
Sort the list in either ascending (T) or descending (nil) order. If omitted, the list is sorted in ascending order.
A sorted list if successful.
nil on error.
Command: (dos_sortnumbers '(4 3 6 5 1 2 7 9 8)) (1 2 3 4 5 6 7 8 9) Command: (dos_sortnumbers '(4 3 6 5 1 2 7 9 8) nil) (9 8 7 6 5 4 3 2 1)
There was an error while loading. Please reload this page.
Home Introduction CAD Function Configuration Functions Directory Functions Drive functions File Functions Math Functions Path Functions Printer Functions Process Functions String Functions System Functions User Interface Functions DOSLib Functions History