Permalink
Browse files

metrics: Fix sort order

Highest first.
  • Loading branch information...
bep committed Sep 26, 2017
1 parent 4f576e1 commit d3681f51c08fb11e8addcf9f0b484848d20d46cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 metrics/metrics.go
View
@@ -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 }

0 comments on commit d3681f5

Please sign in to comment.