1

Q: Is it possible to sort line with "natural order" (or what it calls, I'm not sure the correct name) like/similar to Windows Explorer? With or without plugin are fine

Demo lines:

text 1
text 2
text 3
text 03
text 04
text 100
text 101
text 202
text a100
1

Windows Explorer:

1
text 1
text 2
text 03
text 3
text 04
text 100
text 101
text 202
text a100

NPP with "sort by Lex. order":

1
text 03
text 04
text 1
text 100
text 101
text 2
text 202
text 3
text a100

demo

Expected behavior:

// just like Windows Explorer or:
1
text 03
text 04
text 1
text 2
text 3
text 100
text 101
text 202
text a100

1 Answer 1

0

The following gives you the expected result:

Menu Edit >> Line Operations >> Sort Lines As Integers Ascending

ScreenShot:

enter image description here

1
  • Thanks, I tried it on old version before but it didn't work, never expected that it works now
    – Byzod
    Apr 16, 2022 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .