rosshemsley / iOpener

Open files from path, with completion, listings and history. Similar to Emacs find file.
GNU General Public License v2.0
55 stars 19 forks source link

alphabetical order #14

Open kartsims opened 9 years ago

kartsims commented 9 years ago

Hi,

First thanks for this great plugin ! I just installed it and will be using it a lot most certainly ;)

I was wondering why is the directory sorted that way and not in alphabetical order ? Sorry if I missed something but the documentation seems pretty clear though ;)

Cheers,

Simon

bersavosh commented 6 years ago

I've encountered this issue on some specific systems as well. Looking around and playing with the source code, I don't think it's this plugin's problem. It's caused by os.listdir() (see here). Specifically:

Return a list containing the names of the entries in the directory given by path. The list is in arbitrary order, and does not include the special entries '.' and '..' even if they are present in the directory.