1892 |
DEFUN ("sort", Fsort, Ssort, 2, 2, 0, |
DEFUN ("sort", Fsort, Ssort, 2, 2, 0, |
1893 |
doc: /* Sort LIST, stably, comparing elements using PREDICATE. |
doc: /* Sort LIST, stably, comparing elements using PREDICATE. |
1894 |
Returns the sorted list. LIST is modified by side effects. |
Returns the sorted list. LIST is modified by side effects. |
1895 |
PREDICATE is called with two elements of LIST, and should return t |
PREDICATE is called with two elements of LIST, and should return non-nil |
1896 |
if the first element is "less" than the second. */) |
if the first element is "less" than the second. */) |
1897 |
(list, predicate) |
(list, predicate) |
1898 |
Lisp_Object list, predicate; |
Lisp_Object list, predicate; |