Where does Mendix store the sort order of Enumeration values?
Where does Mendix store the sort order of Enumeration values? I’m digging around in MxModelReflection to see if it’s possible to determine the sort order of enumerations. I’m trying to use an enumeration to wrap steps within a Wizard. Has anyone else run into this scenario and done something other than hardcoding a step number? Thanks!
enums, as they appear in the drop down for a user, are sorted in the enum settings themselves, regarding the database layer, it is a string, so sorting happens the same way as a string would be sorted.
keep in mind that you can keep an easy way to sort in the key of the enum, and keep it away from the users by editting the caption of each value.