Compare departure and destination by id