Text editor with sort functionality

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

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

13 points · 16 comments · view on lemmy.world

16 Comments

atyaz@reddthat.com · 4 pts · 3y (1 reply)

You can do this in vim, which you can run on Android.

JoeClu@lemmy.world · 1 pts · 3y

Do you? I've tried. Not fun. I use vim everyday on my workstation. On Android tiny keyboard, hard pass.

eager_eagle@lemmy.world · 3 pts · 3y (1 reply)

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.

singinwhale@lmy.singinwhale.com · 2 pts · 3y

There is always the web version that also runs on Android: https://vscode.dev/

bet@lemm.ee · 2 pts · 3y (2 replies)

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

JoeClu@lemmy.world · 2 pts · 3y (1 reply)

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 · 1 pts · 3y

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.

AlmightySnoo@lemmy.world · 2 pts · 3y (6 replies)

You mean sorting your documents by name/size/modified date?

JoeClu@lemmy.world · 4 pts · 3y (5 replies)

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
MargotRobbie@lemmy.world · 4 pts · 3y (4 replies)

Maybe you want a spreadsheet app instead.

AlmightySnoo@lemmy.world · 2 pts · 3y (1 reply)

or termux and then doing a sort input_file.txt

JoeClu@lemmy.world · 4 pts · 3y

I am aware of that route. But I'm looking for a text editor that will do it. You know, select some rows, click tools->sort. Seems easy enough.

JoeClu@lemmy.world · 1 pts · 3y (1 reply)

No, looking for a text editor. Seems simple enough and it's very useful.

lechatron@lemmy.world · -3 pts · 3y

What you're wanting to do is sort a list, I know that word allows you to sort as bulleted list.

Edit: I assumed their mobile app had similar features to the desktop version, but after installing it's severely lacking in features.

Izzy@lemmy.world · 1 pts · 3y
[ removed ]
bstix@feddit.dk · -2 pts · 3y (1 reply)

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.

JoeClu@lemmy.world · 3 pts · 3y

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