Skip to content

Commit 6b79ab0

Browse files
committed
chore: ensure order of generated operators
1 parent 589ea90 commit 6b79ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export async function getOperators() {
123123
}),
124124
(el) => el.name,
125125
).sort((a, b) => {
126-
return pinyin.compare(a.name, b.name) || a.id.localeCompare(b.id)
126+
return pinyin.compare(a.name, b.name) || a.id.localeCompare(b.id, 'zh')
127127
})
128128
return {
129129
professions,

0 commit comments

Comments
 (0)