By Default Magento sorts the values in a drop down list alphabetically. If the values are NOT showing up in the order you want you can manually define the positions.
Magento Admin > Stores> Attributes > Product
Find the specific attribute. EX: Size
Find the Manage Options Section.
- Drag and Drop the attribute values to the desired order.
Click Save.