The Java function
IMetaObject.getMetaPrimitives()
currently seems to return the entity members in a different order than they are in the domain model.
It would be helpful, if they were returned in the exact same order.
Use Case:
We built a Java action that generates an Excel import template from an entity by turning every attribute into an imported column. Since the entity members are currently returned out-of-order, we had to add a column number as a prefix to every attribute name.
Example: _05_Description