Add Support to the sort order to help stabilize the sorting
This commit is contained in:
Родитель
e00ae1033c
Коммит
f000287812
|
@ -142,8 +142,8 @@ function Set-PackageListForLanguage([string]$lang, [Array]$packageList)
|
|||
|
||||
$new, $other = Get-PackageListSplit $packageList
|
||||
|
||||
$new = $new | Sort-Object Type, DisplayName, Package, GroupId, ServiceName
|
||||
$other = $other | Sort-Object Type, DisplayName, Package, GroupId, ServiceName
|
||||
$new = $new | Sort-Object Type, DisplayName, Package, GroupId, ServiceName, Support
|
||||
$other = $other | Sort-Object Type, DisplayName, Package, GroupId, ServiceName, Support
|
||||
|
||||
$sortedPackages = $new + $other
|
||||
$sortedPackages | ConvertTo-CSV -NoTypeInformation -UseQuotes Always | Out-File $packagelistFile -encoding ascii
|
||||
|
@ -437,4 +437,4 @@ function GetLinkTemplateValue($linkTemplates, $templateName, $packageName = $nul
|
|||
}
|
||||
|
||||
return $replacedString
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче