Fix a harmless mistake in the date sorting