Closed Bbertatum closed 6 years ago
I didn't get that, did you sort by name?
Looks fine to me.
As u can see, with the notation number-Name always fail setting a "random" (as far as I can see...) number which is placed on the top position.
I've made others tests with alphabetical letters in each folders, it's ok. It seems that the error in only related to numbers... With the notation 201802dd if you put about 20 folders with that names it will be a mess like in my screenshot.
ouhh okay yes:
https://github.com/soyuka/explorer/blob/e5cf4702e6b32b2088b39e06b2eaa32e42e1bb41/lib/sort.js#L26
fixed on master
I figured out that the directory order is innacurrate.
I tried with just numbers like YYYYMMdd => 20180120
Or even with alphabetical order the folders are shown in wrong order.
Thanks for the beautiful software otherwise :)