Question
How to sort variants programmatically?
It seems there is no plugin API feature for changing the order of component variants. There is some plugin that does it, but I was not able to find the trick how it is done. Can someone help with this? Manual sorting of 100+ options is a disaster.
