Function: vundo--sort-mod
vundo--sort-mod is a natively compiled function defined in vundo.el.
Signature
(vundo--sort-mod MLIST &optional REVERSE)
Documentation
Return sorted modifications in MLIST by their idx...
...in ascending order. If REVERSE non-nil, sort in descending
order.
Source Code
;; Defined in /nix/store/386w2ds6bdh3gcz9k23jssw4cni4lfr2-emacs-packages-deps/share/emacs/site-lisp/elpa/vundo-2.4.0/vundo.el
(defun vundo--sort-mod (mlist &optional reverse)
"Return sorted modifications in MLIST by their idx...
...in ascending order. If REVERSE non-nil, sort in descending
order."
(seq-sort (if reverse
(lambda (m1 m2)
(> (vundo-m-idx m1) (vundo-m-idx m2)))
(lambda (m1 m2)
(< (vundo-m-idx m1) (vundo-m-idx m2))))
mlist))