Function: tabulated-list-groups-sort
tabulated-list-groups-sort is a byte-compiled function defined in
tabulated-list.el.gz.
Signature
(tabulated-list-groups-sort TREE SORT-FUNCTION &optional LEVEL)
Documentation
Sort TREE using the sort function SORT-FUN.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/tabulated-list.el.gz
(defun tabulated-list-groups-sort (tree sort-function &optional level)
"Sort TREE using the sort function SORT-FUN."
(unless level (setq level 1))
(mapcar (lambda (elt)
(if (vectorp (cdr elt))
elt
(cons (car elt) (tabulated-list-groups-sort
(cdr elt) sort-function (1+ level)))))
(funcall sort-function tree level)))