summaryrefslogtreecommitdiff
path: root/bundle.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-05-01 12:41:50 -0400
committerJules Laplace <jules@okfoc.us>2017-05-01 12:41:50 -0400
commit3f0f50e4241bef5c0fe7d121f63d9e37e906d1fc (patch)
tree42e4ca53f0cb5aeaedcd1e84d220bde9268fd723 /bundle.js
parent36ba7852dd91d140a923071cb22fd40998821c23 (diff)
resort freq
Diffstat (limited to 'bundle.js')
-rw-r--r--bundle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle.js b/bundle.js
index 07ad2db..67a556b 100644
--- a/bundle.js
+++ b/bundle.js
@@ -23102,7 +23102,7 @@ function sortByColor() {
}
function sortByFrequency() {
els.sort(function (a, b) {
- return a.freq < b.freq ? -1 : a.freq == b.freq ? 0 : 1;
+ return a.freq > b.freq ? -1 : a.freq == b.freq ? 0 : 1;
}).map(resort);
}
function resort(tuple, i) {