Fixed date field to use actual dates with professors code, and changed sort method to use comparators