implemented function for ordering result on travel list request