diff --git a/functions/private/Initialize-InstallCategoryAppList.ps1 b/functions/private/Initialize-InstallCategoryAppList.ps1 index 47c6d72e..5e69c42b 100644 --- a/functions/private/Initialize-InstallCategoryAppList.ps1 +++ b/functions/private/Initialize-InstallCategoryAppList.ps1 @@ -73,7 +73,7 @@ function Initialize-InstallCategoryAppList { $wrapPanel.Visibility = [Windows.Visibility]::Collapsed $wrapPanel.Tag = "CategoryWrapPanel_$category" $null = $TargetElement.Items.Add($wrapPanel) - $appsByCategory[$category] | ForEach-Object { + $appsByCategory[$category] |Sort-Object | ForEach-Object { $sync.$_ = $(Initialize-InstallAppEntry -TargetElement $wrapPanel -AppKey $_) } }