Created attachment 4843 Patch to mainbox.c to sort TODOS by due-date. Orage currently sorts TODOs in the main window by when they were created, which seems to me to be irrelevant. This is particularly problematic when one has a lot of long-term TODOs, which come up first even though they aren't due for months. It is much more useful to sort by their due-date, so you can see what needs to be done now. The attached patch sorts TODOs by due-date.
Makes sense. Thanks for the patch. I will get this to the next release.
This is now in got 4.8.3.7. Thanks for the patch. I modified it a little so that TODOs without due date are shown last.
Available in Orage 4.8.4.