ApprovedDate sorting fix