Function: org-roam-node-read-sort-by-file-mtime
org-roam-node-read-sort-by-file-mtime is a byte-compiled function
defined in org-roam-node.el.
Signature
(org-roam-node-read-sort-by-file-mtime COMPLETION-A COMPLETION-B)
Documentation
Sort files such that files modified more recently are shown first.
COMPLETION-A and COMPLETION-B are items in the form of
(node-title org-roam-node-struct)
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-node.el
(defun org-roam-node-read-sort-by-file-mtime (completion-a completion-b)
"Sort files such that files modified more recently are shown first.
COMPLETION-A and COMPLETION-B are items in the form of
\(node-title org-roam-node-struct)"
(let ((node-a (cdr completion-a))
(node-b (cdr completion-b)))
(time-less-p (org-roam-node-file-mtime node-b)
(org-roam-node-file-mtime node-a))))