Go to the Shopify admin panel.
Go to Products > All products.
Select a product.
Scroll to Variants, then click Reorder variants.
Click and drag an option name you want to move to a different position.
Click and drag an option value to move to a different position.
Click Save.