diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-17 20:32:08 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-17 20:32:08 -0700 |
commit | 3a656a80099a89471f5c28d453c3de968538c045 (patch) | |
tree | da051c4010050cb83eaa12b8b14caf886cba5864 /ext | |
parent | 65346c18f8a4293711084a0cfb92fe82c948bba8 (diff) |
Consistant ordering with Anki
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/translator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index d19c6375..1c397780 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -126,7 +126,7 @@ class Translator { return 1; } - return 0; + return v2.expression.localeCompare(v1.expression); }); let length = 0; |