Sorting in queries

Hi there,

I’m new and trying to get to grips with Logseq and make it useful for my use case.

Currently, I’m trying how to best carry over unfinished tasks to the next day in my journal. I installed the plugin “Daily TODO” from the marketplace, but contrary to its description, it wouldn’t leave tasks with DONE status in the past days but just delete them altogether.

Ok, we have queries. So, I moved my tasks to a separate tasks page and put a query into my journal that lists everything but tasks with DONE status. The problem is that it reorders my tasks. When I start a block with tasks, I put them into a specific order that makes sense, so getting the order messed up isn’t really what I want.

Does anybody know why that happens, and is there a way to preserve the order of the tasks as they’re displayed on the original page?

EDIT: Maybe I should have mentioned the query I use, it’s {{query (task NOW LATER DOING IN-PROGRESS TODO WAIT WAITING)}}

Short answer: not in the way you want.

Long answer, sorting is possible. But limited.
For simple queries (like the one you made) refer to this documentation part:
https://docs.logseq.com/#/page/6667036a-a2b9-45d3-8ce4-7852310bc67b

The other option is making an advanced query.
This will offer more options, but is also more complex.

Most importantly you’ll have to decide in what way you wish to sort your tasks.
If there is no part of the task that offers an appropriate sorting criteria then, you will have to think of one.