orgzly-android icon indicating copy to clipboard operation
orgzly-android copied to clipboard

Sort contents of notebooks

Open Sirove opened this issue 6 years ago • 12 comments

Is there a way to automatically sort the contents of a notebook by priority and name? The search function is no replacement because of the missing possibility to view the full hierarchy. I would really appreciate this feature because it gets really messy with more than a few dozen todos and notes.

Sirove avatar Jun 22 '18 17:06 Sirove

Do you mean actually rearranging the notes permanently? Or something closer to #182?

nevenz avatar Jun 30 '18 10:06 nevenz

I do mean permanently rearranging. Otherwise it's just impossible to get an overview of the hundreds of entries.

Sirove avatar Jun 30 '18 10:06 Sirove

+1 for this feature. I really want to be able to sort my todo list by state (TODO or DONE) and priority

xin-jin avatar Aug 04 '18 21:08 xin-jin

I think you should keep your notebooks simple or, if you refuse to do that, resort to the full org mode experience in emacs to reorganize your files, which is recommended anyway (sparse tree views, scriptability, stuck projects, etc).

@nevenz a related point arose recently while discussing sync strategies. Which user profile do you have in mind? Both pure orgzly (ie. android) users and orgzly+emacs users? Is the pure android use case really relevant in practice (I mean, you have a fierce competition there)? As I pointed out before, it seems important to settle down these questions about scope.

memeplex avatar Feb 21 '19 20:02 memeplex

Which user profile do you have in mind? Both pure orgzly (ie. android) users and orgzly+emacs users?

There are a lot of users who haven't even heard of Emacs or Org mode. I don't want those to be a prerequisite for using Orgzly. (Thought some started using Org mode through Orgzly, which is cool.)

Org files are being considered just one way to encode the notebook from day 1, which I think is healthy for the code (though there have been some Org-specific things done along the way).

nevenz avatar Feb 24 '19 07:02 nevenz

There is a setting Sort order in Notes & Notebooks setting, which only allows sorting by name and modification time. Personally I'd like to sort my notebooks by state (DONE at the end). Isnt it possbile to make this setting editable to use the standard sorting mechanisms (like o.state)?

brandsimon avatar Dec 19 '20 00:12 brandsimon

I want to second this feature request.

I think an option to automatically sort by priority (and others) would be a great improvement.

The flexibility of the manual sort is essential, but an automatic solution is very convenient as well, especially because the 'Move' button needs a lot of taps.

The idea of emacs is to do what you want to do, with extensibility. I don't think scrapping ideas because it's not in-line with the org-mode package options is the way to go.

Orgzly should be the best way to maintain an org file on Android, until we get Linux phones or a port of emacs for Android.

Thank you for the great app.

deadcombo avatar Dec 21 '20 19:12 deadcombo

There is a setting Sort order in Notes & Notebooks setting, which only allows sorting by name and modification time. > Personally I'd like to sort my notebooks by state (DONE at the end).

Notebooks or notes? "Sort order" preference is for sorting notebooks in Notebooks view, but this issue is about sorting notes within notebooks.

Isnt it possbile to make this setting editable to use the standard sorting mechanisms (like o.state)?

I do like the idea of reusing the search queries to actually rearange the notes.

nevenz avatar Dec 23 '20 08:12 nevenz

I've been using OI Shopping List (which lets me sort items by priority) to handle my list, but its export function is broken for me so I can't bring it to my new phone. I'm instead rebuilding in Orgzly. Priority sorting would be great to have.

yaomtc avatar Dec 04 '22 00:12 yaomtc

I am not aware of how the java parser for org mode would handle it, but just interjecting my own experience using the org mode python parsing library orgparse. Sorting org nodes in file, exponentially complicates parsing, this is due to the flexibility of the org mode framework. In other words, everyone has the option to structure their org mode files differently. Some use org mode as a single level list, where others get very structured and have multilevel nesting. It can grow into a very sticky wicket rather fast.

anoduck avatar Dec 08 '22 21:12 anoduck

Can you check if this is resolved by https://github.com/orgzly-revived/orgzly-android-revived/pull/37 in orgzly-revived?

stefan2904 avatar Nov 24 '23 15:11 stefan2904

Can you check if this is resolved by orgzly-revived/orgzly-android-revived#37 in orgzly-revived?

Unfortunately, I can't because I am still waiting on the git repository issue to be resolved.

anoduck avatar Nov 25 '23 05:11 anoduck