dueDateSort puts null values at the end now