Fix ordering of dates on time graphs