tring to sort the shipments