Enum sorting tests