GearSwap - order to priority switch

And refactoring