request: device profile OUs should be sorted alphabetically

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