mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[kbn-repo-packages] Add sort locale (#199138)](https://github.com/elastic/kibana/pull/199138) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-11-06T17:53:23Z","message":"[kbn-repo-packages] Add sort locale (#199138)\n\nIn some situations `yarn kbn bootstrap` is causing the sort order of\r\ntsconfig.base.json to change.\r\n\r\nThis adds a locale to the comparative to keep the sort order consistent.","sha":"935c3aa974a22e99a3284a7969217306ba5f3609","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[kbn-repo-packages] Add sort locale","number":199138,"url":"https://github.com/elastic/kibana/pull/199138","mergeCommit":{"message":"[kbn-repo-packages] Add sort locale (#199138)\n\nIn some situations `yarn kbn bootstrap` is causing the sort order of\r\ntsconfig.base.json to change.\r\n\r\nThis adds a locale to the comparative to keep the sort order consistent.","sha":"935c3aa974a22e99a3284a7969217306ba5f3609"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199138","number":199138,"mergeCommit":{"message":"[kbn-repo-packages] Add sort locale (#199138)\n\nIn some situations `yarn kbn bootstrap` is causing the sort order of\r\ntsconfig.base.json to change.\r\n\r\nThis adds a locale to the comparative to keep the sort order consistent.","sha":"935c3aa974a22e99a3284a7969217306ba5f3609"}}]}] BACKPORT--> Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
parent
ec22c125b8
commit
b71b0b3f23
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Package {
|
|||
* @param {Package} b
|
||||
*/
|
||||
static sorter(a, b) {
|
||||
return a.manifest.id.localeCompare(b.manifest.id);
|
||||
return a.manifest.id.localeCompare(b.manifest.id, 'en');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue