Skip to content

Commit 786f62b

Browse files
committed
chore: ensure operator order
1 parent 9bf01b9 commit 786f62b

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
@@ -120,7 +120,7 @@ export async function getOperators() {
120120
}),
121121
(el) => el.name,
122122
).sort((a, b) => {
123-
return pinyin.compare(a.name, b.name)
123+
return pinyin.compare(a.name, b.name) || a.id.localeCompare(b.id)
124124
})
125125
return {
126126
professions,

0 commit comments

Comments
 (0)