fixed sort by due_date