tournaments/standings.go
func (s PlayerStandings) ByWinnings(oldTieBreak bool) {
	if oldTieBreak {
		sort.Sort(sort.Reverse(ByWinningsOld{s}))
	} else {
		sort.Sort(sort.Reverse(ByWinnings{s}))
	}
}
func (s PlayerStandings) ByWinnings(oldTieBreak bool) {
	if oldTieBreak {
		sort.Sort(sort.Reverse(ByWinningsOld{s}))
	} else {
		sort.Sort(sort.Reverse(ByWinnings{s}))
	}
}
func ( s PlayerStandings ) ByWinnings ( oldTieBreak bool ) { if oldTieBreak { sort . Sort ( sort . Reverse ( ByWinningsOld { s } ) ) } else { sort . Sort ( sort . Reverse ( ByWinnings { s } ) ) } }
// Various ways to sort the player standings using helper structs that
// implement different comparison methods.
Various ways to sort the player standings using helper structs that implement different comparison methods .