lispdoc - results for stable-sort |
(stable-sort sequence predicate &rest args &key key) | Function: Destructively sort SEQUENCE. PREDICATE should return non-NIL if ARG1 is to precede ARG2.
|
Example:(defun sort-idx-list (idx-list) "Sorts and returns the idx-list." (stable-sort idx-list #'string-lessp :key #'idx-entry-name)) | Mentioned in: CLtL2 - 14.5. Sorting and Merging HyperSpec - Function SORT, STABLE-SORT PCL - combining recycling with shared structure PCL - other structures PCL - sorting and merging Successful Lisp - chapter13 Successful Lisp - closures |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |