Function: recentf-sort-ascending

recentf-sort-ascending is a byte-compiled function defined in recentf.el.gz.

Signature

(recentf-sort-ascending L)

Documentation

Sort the list of menu elements L in ascending order.

The MENU-ITEM part of each menu element is compared.

Source Code

;; Defined in /usr/src/emacs/lisp/recentf.el.gz
;;; Predefined menu filters
;;
(defsubst recentf-sort-ascending (l)
  "Sort the list of menu elements L in ascending order.
The MENU-ITEM part of each menu element is compared."
  (sort (copy-sequence l)
        #'(lambda (e1 e2)
            (recentf-string-lessp
             (recentf-menu-element-item e1)
             (recentf-menu-element-item e2)))))