request: device profile OUs should be sorted alphabetically

This commit is contained in:
Gary Sharp
2025-01-17 13:05:06 +11:00
parent a3e1e1d030
commit 7a336e699a
@@ -314,7 +314,7 @@ namespace Disco.Services.Interop.ActiveDirectory
ADOrganisationalUnit ouParent; ADOrganisationalUnit ouParent;
if (indexedOrganisationalUnits.TryGetValue(ouChildren.Key, out ouParent)) if (indexedOrganisationalUnits.TryGetValue(ouChildren.Key, out ouParent))
{ {
ouParent.Children = ouChildren.Value; ouParent.Children = ouChildren.Value.OrderBy(o => o.Name).ToList();
} }
} }