Subject: Re: bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'?

From: Eli Zaretskii <[email-masked]>
Date: Mon, 06 Jun 2016 21:50:05 +0300

> Date:  Mon, 06 Jun 2016 09:19:07 -0700
> From:  Keith David Bershatsky <[email-masked]>
> Cc:  [email-masked],Noam Postavsky <[email-masked]>,Marcin Borkowski <[email-masked]>
> 
> I am on OS X and the default sort order is alphabetic, which gets reversed by `completion-file-name-table` because it uses `nreverse'.

Then what exactly is the problem here?  Emacs doesn't know in what
order the files are returned, it considers the order random.
Reversing a randomly ordered list produces another randomly ordered
list.  Applications that need to present the list in some specific
order need to do that explicitly.  For example, "C-x C-f TAB TAB" does
display the files in alphabetic order for me, not in reverse
alphabetic order.