citrus/spree_variant_options — comment on commit cbd756e58d0943ce4b879e0306210e5c1fb42488
File:  line 0
By sbounmy:

@citrus sorry for not being clear, when I was talking about the order, it was about the order of the option type : size, color and not the option values (blue, green,...).

I gave a shot and this basically fixed it :

```ruby
def option_values
variants.map(&:option_values).flatten.uniq.sort_by { |v| v.option_type.position }
end
```

I believe the option_values should be ordered aswell :).

Maybe there is a cleaner way to ensure the order instead of playing with enumerables.

What do you think?