Function: find-dired-sort-by-filename

find-dired-sort-by-filename is a byte-compiled function defined in find-dired.el.gz.

Signature

(find-dired-sort-by-filename)

Documentation

Sort entries in *Find* buffer by file name lexicographically.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/find-dired.el.gz
(defun find-dired-sort-by-filename ()
  "Sort entries in *Find* buffer by file name lexicographically."
  (sort-subr nil 'forward-line 'end-of-line
             (lambda ()
               (buffer-substring-no-properties
                (next-single-property-change
                 (point) 'dired-filename)
                (line-end-position)))))