summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-09-26 20:31:40 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-09-26 20:31:40 +0200
commitd3681f51c08fb11e8addcf9f0b484848d20d46cc (patch)
tree798e24d013f71f7673498da5c66266c4ea443ed7 /metrics
parent4f576e1c08d85d2e4b69d5a68e99314c1382257d (diff)
metrics: Fix sort order
Highest first.
Diffstat (limited to 'metrics')
-rw-r--r--metrics/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/metrics/metrics.go b/metrics/metrics.go
index cabf52131..9f8a158ad 100644
--- a/metrics/metrics.go
+++ b/metrics/metrics.go
@@ -114,4 +114,4 @@ type bySum []result
func (b bySum) Len() int { return len(b) }
func (b bySum) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
-func (b bySum) Less(i, j int) bool { return b[i].sum < b[j].sum }
+func (b bySum) Less(i, j int) bool { return b[i].sum > b[j].sum }