Is this wrong?
```ruby
groups.sort_by { |group| group.score_for(@contest) }
```