Subject: bug#36110: find-dired not sorted on any field nor provides a way

From: Eli Zaretskii <[email-masked]>
Date: Fri, 14 Jun 2019 09:06:52 +0300

> From: Juri Linkov <[email-masked]>
> Date: Fri, 14 Jun 2019 00:30:05 +0300
> Cc: [email-masked]
> 
> > So somebody please document it, else who likes going around with their
> > find-dired in "ls -U" order? What sense would that make?
> 
> The following patch documents it:
> 
> diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
> index 9f454ea2ad..2befcf1bbd 100644
> --- a/doc/emacs/dired.texi
> +++ b/doc/emacs/dired.texi
> @@ -1340,7 +1340,9 @@ Dired and Find
>    The format of listing produced by these commands is controlled by
>  the variable @code{find-ls-option}.  This is a pair of options; the
>  first specifying how to call @command{find} to produce the file listing,
> -and the second telling Dired to parse the output.
> +and the second telling Dired to parse the output.  To sort file names
> +lexicographically, you can customize @code{find-ls-option} to the value
> +@code{'("-exec ls -ld @{@} +" . "-ld")}

This should qualify the suggestion to using GNU Find, right?