[ru][nouns] fix cyrylic sorting

This commit is contained in:
Andrea 2022-02-14 20:52:50 +01:00
parent ec2e95a344
commit 7b28beabcc
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@
if (!a.approved && b.approved) {
return -1;
}
return a.masc.toLowerCase().localeCompare(b.masc.toLowerCase());
return a.masc.toLowerCase().localeCompare(b.masc.toLowerCase(), this.config.locale);
});
for (let w of sorted) {
yield [w.id, new Noun(w)];