order events by time, secondarily