Order tasks by due date.