CLC-4036: To Do scheduled tasks: sort order of tasks is different when creating them versus revisiting them

https://jira.ets.berkeley.edu/jira/browse/CLC-4036

Also fixes:
CLC-4037: To Do show more: last task doesn't obey sort order logic if there are more than 10
https://jira.ets.berkeley.edu/jira/browse/CLC-4037
Merge pull request #2755 from christianv/CLC-4036

CLC-4036: To Do scheduled tasks: sort order of tasks is different when creating them versus revisiting them