Hello @emilianoli
module-configurable-product/view/adminhtml/web/js/variations\variations.js
where you can find :-
getVariationKey: function (options) {
return _.pluck(options, 'value').sort().join('-');
},
you need to change that.
hope it will help you.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer