Skip to content

Commit

Permalink
docs: document unstable icu sort order (#2948)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Jun 16, 2024
1 parent b4e7d21 commit 25a1ab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/generate-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) {
// limit entries to 1k
.slice(0, 1000)
// sort entries alphabetically
// We cannot sort the entries locale aware as the sort order is not stable within node versions #2905
.sort() as T
);
}
Expand Down

0 comments on commit 25a1ab4

Please sign in to comment.