SOLVED? Numeric Sort
Posted: 18 Feb 2025 15:44
Hi Rickard.
How is the sort numeric algorithm supposed to work, does it only look at numbers, what about other data, simply ignored or subject to some other processing? Maybe I don't understand but it seems to be doing weird stuff.
Just try running numeric sort (asc/desc) on this small sample below and check the results.
c08
a03
b05
c02
a02
Also, I have separate shortcuts assigned to SortLinesNumericand SortLinesNumericDesc, but if I hit the same shortcut twice, it looks like it reverses it (or something) - is this by design? The regular SortLines shortcuts do not do this.
Thanks for reading.
How is the sort numeric algorithm supposed to work, does it only look at numbers, what about other data, simply ignored or subject to some other processing? Maybe I don't understand but it seems to be doing weird stuff.
Just try running numeric sort (asc/desc) on this small sample below and check the results.
c08
a03
b05
c02
a02
Also, I have separate shortcuts assigned to SortLinesNumericand SortLinesNumericDesc, but if I hit the same shortcut twice, it looks like it reverses it (or something) - is this by design? The regular SortLines shortcuts do not do this.
Thanks for reading.