Manually sort color swatch - instead of vanilla A-Z sorting

Alyios
Visitor
2 0 0

 

Comming with shopify 2.0 and implemented in compatible thèmes you can easily  deaclare your colors for colors swatches in the theme setting.

 

I am using wharehouse theme 2.0 and when i asked theme if we could manually sort the color swatches order they told us shopify auto sort them.

 

knowing that is is just a sorted array from A-Z do you know if we can just remove the auto-sorting mecanic so the swatches would appears in the order we declared them ? 

(just removing the array sort and take the variables as the order in below )

 

color-swatch.png

I thank you in advance for your time

Replies 2 (2)
Alyios
Visitor
2 0 0

Does anyone have an idea ?

wildandpacific
Visitor
1 0 0

Hello, I have the same request, does anyone have any idea?