obsidian-sort-and-permute-lines icon indicating copy to clipboard operation
obsidian-sort-and-permute-lines copied to clipboard

FR: Option to sort "alphanumerically" which will recognise and sort decimal point numbers as numbers

Open alecgargett opened this issue 1 year ago • 0 comments

Thanks a lot to the plugin author and other contributors for your work.

Currently lines beginning with

0.1 0.15 0.2

are sorted as

0.1 0.2 0.15

It makes sense to keep the latter as the default behaviour for "sort alphabetically" but it would be useful to have an option to "sort alphanumerically" so that decimal numbers would be sorted as:

0.1 0.15 0.2

I would also prefer that "sort alphanumerically" does not skip punctuation and instead sorts punctuation by ASCII code as requested here: https://github.com/Vinzent03/obsidian-sort-and-permute-lines/issues/38

I can try to make this change myself if no one more qualified is able to do it, and if someone says they are open to a pull request. Otherwise I might just make a fork as this plugin hasn't had changed for a while.

alecgargett avatar Oct 28 '24 10:10 alecgargett