My solution to this problem would be:
Enum_Status = ‘Executed’ or Enum_Status = ‘Billed’
As far as I know enum do not have a specific order other than alphabetical for sorting.
Another solution:
Create integer variable with
if Enum_Status = ‘Created’
then 1
else if Enum_Status = ‘Planned’
then 2
else if Enum_Status = ‘Billed’
then 3
else if Enum_Status = ‘Executed’
then 4
else empty
and finally compare this number to the enum value of your choice