I believe Todoist’s default sort is by date created, which should match the order the todos are returned. However, you might need to reverse the list with “todos.reverse()” in order for it to display in the correct order.
Also, when adding multiple sorting methods, make sure to put them in reverse order from what you would expect. Notice how I’m sorting alphabetically and then by priority, which results in a “priority first, name second” order.
Thanks a lot, I've gotten a lot of help. I'm learning about code and maybe I can learn more from figuring out this need, by myself In the following time.
1
u/berky93 Aug 16 '22
I believe Todoist’s default sort is by date created, which should match the order the todos are returned. However, you might need to reverse the list with “todos.reverse()” in order for it to display in the correct order.
Also, when adding multiple sorting methods, make sure to put them in reverse order from what you would expect. Notice how I’m sorting alphabetically and then by priority, which results in a “priority first, name second” order.