Update add_prop_template.py so the properties are sorted

This allows to keep the pset properties sorted for easy access
This commit is contained in:
falken10
2025-03-11 23:32:05 +01:00
committed by Dion Moult
parent 5114576457
commit 6517cafd98
@@ -110,5 +110,6 @@ def add_prop_template(
)
has_property_templates = list(pset_template.HasPropertyTemplates or [])
has_property_templates.append(prop_template)
has_property_templates.sort(key=lambda pt: pt.Name)
pset_template.HasPropertyTemplates = has_property_templates
return prop_template