newsbid: sort reverse

This commit is contained in:
Chris Sexton 2020-03-11 13:11:22 -04:00 committed by Chris Sexton
parent e2352a214b
commit a4fd340a53
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ type Balances []Balance
func (b Balances) Len() int { return len(b) }
func (b Balances) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
func (b Balances) Less(i, j int) bool { return b[i].Score < b[j].Score }
func (b Balances) Less(i, j int) bool { return b[i].Score > b[j].Score }
type WeeklyResult struct {
User string