Created Comparators for Date and Name.