Order tasks by task_date and category.