Skip to content

Commit d3681f5

Browse files
committed
metrics: Fix sort order
Highest first.
1 parent 4f576e1 commit d3681f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎metrics/metrics.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ type bySum []result
114114

115115
func (b bySum) Len() int { return len(b) }
116116
func (b bySum) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
117-
func (b bySum) Less(i, j int) bool { return b[i].sum < b[j].sum }
117+
func (b bySum) Less(i, j int) bool { return b[i].sum > b[j].sum }

0 commit comments

Comments
 (0)