Fix ordering or tasks and issues.
First all unresolved tasks and issues, after the solved tasks and
issues. Sub-ordering is based on the last updated date. Last updated
items appear on top.