sort failure
-
greetings kind regards thank you for providing Notepad++ please see attached GIF demonstrate Line Operations::Sort Lines Lexicographically Ascending failure . Thank You Kindly
-
It works for me.
What version are you using? Can you post the debug information from the
?->Debug Information...
menu?One thing you could test is to change the eol by using the menu
Edit-EOL Conversion->Unix...
followed byEdit-EOL Conversion->Windows...
and repeat the test.
The reason I ask is that when I tried to test your data, I saw that I was getting a different size of selected bytes reported. -
@Bernard I’m guessing there is an invisible character at the start of the 4th to last lines that is causing them to be sorted after the first three lines.
Try clicking on the blue pilcrow (¶) for
Show All Characters
in the toolbar to see if things such as ZWSP, ZWNJ, or ZWJ show up. They will have a white letters with a black background.Another guess is that the file you are editing is marked as read-only. The sort function will do nothing on read-only files. If you right click on the tab for that file see if there is a checkmark to the left of the word “read only” in the right click menu. If so, select that menu option and it’ll turn the read-only mode off.