emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Human-readable file sorting


From: martin rudalics
Subject: Re: Human-readable file sorting
Date: Sat, 20 Feb 2016 11:24:43 +0100

> Btw, MS-Windows filesystems sort files internally in the order you
> want.  E.g., here's what I get for a directory I set up for testing
> this:
>
>    (directory-files "~/data/tsort")
>    => ("." ".." "file1.png" "file10.png" "file11.png" "file2.png" "file3.png" "file31.png" "file4.png" 
"file5.png" "file6.png" "file8.png" "file9.png")

I suppose the OP wants "file2.png" listed before "file10.png".

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]