When I use the new configurable swatches with Magento 1.9.1, the configurable items are not sorted like in the drop-down.
For example sizes, I want sizes sorted like S, M, L, XL. That is also how I sorted them by position in the attribute settings.
Now with the configurable swatches they seem sorted at random, like M, XL, S, L. It's not alphabetical or in position, I can't figure out what is going wrong.
After setting up the use of these swatches I re-indexed and cleared cache.
Best Answer
I had the same issue and applied the 2nd fix given here: https://stackoverflow.com/questions/27270918/magento-1-9-1-not-sorting-configurable-product-attributes-dropdown-by-position:
You just have to copy the core file to app/code/core/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute/Collection.php and add the given code - it was line 304 for me.
It worked fine for my size attribute swatches.