Sort model properties
Merge pull request #543 from gwallet/sort-model-properties

Sort model properties based on property name using a TreeMap

This solution lets delegates the choice of interpreting the position. Part of the solution to the problem reported in #519