Community
    • Login

    sort failure

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 247 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.
    • BernardB
      Bernard
      last edited by

      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

      EkopalypseE mkupperM 2 Replies Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Bernard
        last edited by Ekopalypse

        @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
        • mkupperM
          mkupper @Bernard
          last edited by mkupper

          @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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors