aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-17 20:32:08 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-17 20:32:08 -0700
commit3a656a80099a89471f5c28d453c3de968538c045 (patch)
treeda051c4010050cb83eaa12b8b14caf886cba5864
parent65346c18f8a4293711084a0cfb92fe82c948bba8 (diff)
Consistant ordering with Anki
-rw-r--r--ext/bg/js/translator.js2
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;