added ordering of trips