Variations sorting

Q: Is there a way to sort variations? Right now the sorting seems automatic.

A: Its ordered by attribute slug. See this guide/point 4 and this thread for more info.