• Login
Community
  • Login

sort failure

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 3 Posters 291 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Bernard
    last edited by Jun 5, 2023, 11:04 AM

    greetings kind regards thank you for providing Notepad++ please see attached GIF demonstrate Line Operations::Sort Lines Lexicographically Ascending failure . Thank You Kindly
    e0e66926-7b19-406a-b37e-027134150561-sort fail.gif

    E M 2 Replies Last reply Jun 5, 2023, 11:27 AM Reply Quote 0
    • E
      Ekopalypse @Bernard
      last edited by Ekopalypse Jun 5, 2023, 11:27 AM Jun 5, 2023, 11:27 AM

      @Bernard

      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 by Edit-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.

      1 Reply Last reply Reply Quote 3
      • M
        mkupper @Bernard
        last edited by mkupper Jun 5, 2023, 4:58 PM Jun 5, 2023, 4:57 PM

        @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.

        1 Reply Last reply Reply Quote 3
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors