earshinov / vscode-sort-lines-by-selection

Sort lines based on the text selected in each line
https://marketplace.visualstudio.com/items?itemName=earshinov.sort-lines-by-selection
MIT License
7 stars 2 forks source link

Feature Request: Natural Sorting of Numbers #2

Open rianquinn opened 2 years ago

rianquinn commented 2 years ago

Test: BLAH v15; BLAH v1; BLAH v3; BLAH v6; BLAH v13; BLAH v2; BLAH v10;

Expected: BLAH v1; BLAH v2; BLAH v3; BLAH v6; BLAH v10; BLAH v13; BLAH v15;

Current: BLAH v1; BLAH v10; BLAH v13; BLAH v15; BLAH v2; BLAH v3; BLAH v6;

P.S. Great extension. This issue is minor in the grand scheme of things. Thank you for making it.

earshinov commented 2 years ago

Thank you for a good suggestion. I will look into it.

earshinov commented 2 years ago

Hey @rianquinn , would you be willing to try a new version with natural sort before it is officially released? I am interested to know how well my implementation covers use cases you are interested in

ranolfi commented 4 months ago

@earshinov, the text at the Visual Studio Marketplace page states there should be a command called Sort Lines by Selection (Natural Sort). But I just installed the extension in order to test this and the option isn't there.

Was it released at some point and then reverted?

earshinov commented 4 months ago

@ranolfi , Strange. It was released quite a white and was never reverted. You should have it.

image

Could you double-check?