From f11c3a4c8aa2dff0141f494ebda75bea81f3d911 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 7 Nov 2024 06:26:12 +1100 Subject: [PATCH] [8.15] [kbn-repo-packages] Add sort locale (#199138) (#199196) # Backport This will backport the following commits from `main` to `8.15`: - [[kbn-repo-packages] Add sort locale (#199138)](https://github.com/elastic/kibana/pull/199138) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Jon --- packages/kbn-repo-packages/modern/package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-repo-packages/modern/package.js b/packages/kbn-repo-packages/modern/package.js index d2cd031e75c3d..0c98456e49b59 100644 --- a/packages/kbn-repo-packages/modern/package.js +++ b/packages/kbn-repo-packages/modern/package.js @@ -43,7 +43,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'); } /**