Builds a list of known properties in an ordered and grouped manner.
It guarantees that the added entries:
- are grouped by path, e.g. all "DataSource.mysql" properties are together, and "DataSource.mysql" properties
are within the broader "DataSource" group.
- are ordered by insertion, e.g. if the first "DataSource" property is inserted before the first "security"
property, then "DataSource" properties will come before the "security" ones.