I tried acode, quickedit, markor, squircle CE, and numerous others.

Isn’t this like a basic thing, to sort?

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    1 year ago

    VS Code can sort lines (all or selected), I use it often too.

    Ah sorry, I just saw it’s for android - I’d choose the termux approach with sort file.txt.

    • Alien Surfer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      No, sorting text in the document. Sort all lines in document.

      From this:

       Paper
      
       Altitude
      
       A better book
      

      To this:

       A better book
      
       Altitude 
      
       Paper
      
  • bet@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I use jove (a small, lightweight emacs) within Termux, and M-X filter-region through sort

    • Alien Surfer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      I see. I switched from emacs to vim years ago and now I’ve forgotten most of the key chords in emacs. Nevertheless, seems like an awful way to edit files on a small android device. I tried vim for android and it was quite challenging. Not something I want to repeat.

      • bet@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        With “Unexpected Keyboard” (from f-droid) it’s ok. I’ve come to expect that there’s a basic choice between easy, with GUI, and powerful (like “sort a region of lines”), which is only GUI if you’ve got a powerful GUI, like plan 9. Otherwise, powerful means keyboard-driven.

        When I’ve got a long, complex edit, I’ve got a nice, pocket-size, battery-powered folding bluetooth keyboard; combined with the kickstands on my phone cases, it is pretty good.

  • bstix@feddit.dk
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    edit-2
    1 year ago

    Are you using windows? Then you don’t need software. You can do that in the command prompt.

    The command is literally called “sort”

    Step by step tutorial:

    Right click somewhere, select “Create New/text document”. Type or paste your list there. Save it. Right click the file, select properties and copy the location. F.i. “C/user/desktop/”

    Press windows key. Type CMD. Open the the command prompt. Go to the place where the file is by typing "cd " and paste the location.

    Type: sort [your filename.txt] > [new file name.txt]

    You now have a sorted copy of the file.

    Otherwise use a spreadsheet to do it.

    • Alien Surfer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      My question is regarding Android apps. I thought that was implied by the community name. My apologies for the confusion.