-- fixed bug order by due date