Sort arrivals by arrival time