Skip to content

Problems with the sort of tasks #3139

Answered by claremacrae
rodrigorrbs asked this question in Q&A
Discussion options

You must be logged in to vote

if there is a way for completed tasks to appear in the order in which they are completed

Yes, the instruction you used, sort by done.

Since it does not store time, it can only sort by date, Tasks goes on to use the default sort order to further refine the sort order.

There is an undocumented last sort order, which is the line number within the markdown file.

That is why, if all other sort keys are equal, reordering tasks in the file reorders them in the search results.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rodrigorrbs
Comment options

Answer selected by rodrigorrbs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants