Open ManasMadrecha opened 1 year ago
Is your feature request related to a problem? Please describe.
I want to sort files using natural numbering.
This is what happens in Windows File Explorer or even Obsidian's Tree File Explorer.
So, files should be ordered like this:
Currently, dataview sorts them like this:
dataview
Describe the solution you'd like
By default sort should do natural sort, and then have some Intl.collator options specified in it, if possible, for those who don't want natural sort.
sort
Describe alternatives you've considered
dataviewjs
Intl.collator
Additional context NA
Could you show how you implement natural sorting via dataviewjs?
Is your feature request related to a problem? Please describe.
I want to sort files using natural numbering.
This is what happens in Windows File Explorer or even Obsidian's Tree File Explorer.
So, files should be ordered like this:
Currently,
dataview
sorts them like this:Describe the solution you'd like
By default
sort
should do natural sort, and then have some Intl.collator options specified in it, if possible, for those who don't want natural sort.Describe alternatives you've considered
dataviewjs
and add aIntl.collator
function in every code snippet at the top.dataviewjs
each and every time; I want to use normaldataview
for quick querying.Additional context NA