Community
    • Login

    sort failure

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 551 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors