order events by date