Sort tasks by due date, oldest first.