@classmethod
    def items(cls):
        items = [(value.name, key) for key, value in cls.values.items()]
        return sorted(items, key=lambda x: x[1])
:return: List of tuples consisting of every enum value in the form [('NAME', value), ...]
dataset/ETHPy150Open 5monkeys/django-enumfield/django_enumfield/enum.py/Enum.items