fixed sorting of DatePrinter objects