diff --git a/src/core/js/ext_prop_display.js b/src/core/js/ext_prop_display.js
index f644e7ccf0775b306223e70739e68be15b2e4651..f74d700078b2b8ab69174ab05c9e95c6df33b109 100644
--- a/src/core/js/ext_prop_display.js
+++ b/src/core/js/ext_prop_display.js
@@ -66,9 +66,11 @@ var prop_display = new function ($, edit_mode, getEntityName, getEntityRole, get
                 for (let typeName of Object.keys(conf)) {
                     let typeConf = conf[typeName];
                     let allNames = allTypes.typesWithChildren[typeName];
-                    // only hide something if there is a match in at least one parent type
+                    // only change the display something if there is a match in
+                    // at least one parent type
                     if (parents.some(par => allNames.includes(par)) ||
                         (getEntityRole(ent) == "RecordType" && allNames.includes(getEntityName(ent)))) {
+                        // first sort the properties
                         this._sortProperties(ent, properties, typeConf);
                         properties.forEach((prop, index) => {
                             if (this._hide_property(getPropertyName(prop), userName, userRoles, typeConf)) {