-
-
Notifications
You must be signed in to change notification settings - Fork 638
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when I have a directory that has number-named files.
For example NvimTree will display them like that:
Details
1
10
11
12
13
14
15
16
17
18
19
2
20
3
4
5
6
7
8
9
But the normal order I want them to be in is like:
Details
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
It's the same default behavior of the ls GUN utility in Linux, but the ls has an option -v to treat filename numerically. https://unix.stackexchange.com/questions/33909/list-files-sorted-numerically
Most times I need numbered files sorted with the numerically normal order so I can walk between them easily.
Describe the solution you'd like
Maybe adding a new type to the sort_by option to do that type of sorting.
Describe alternatives you've considered
Maybe I just can create a function to do that since sort_by option support passing a function.