from enum import Enum


class Shake(Enum):
    __order__ = 'vanilla chocolate cookies mint'
vanilla = 7
chocolate = 4
cookies = 9
mint = 3
for s in Shake:
    pass
Iterate python Enum in definition order