title: Order by highest group - rails
body: <p>This code here groups a Users friends by highschool name.</p>
  
  <pre><code>&lt;% @user.friends.group_by(&amp;:highschool_name).map do |hsname, friends| %&gt;
  &lt;% next if hsname.blank? %&gt;
  &lt;div class="contentbox"&gt;
      &lt;div class="box-header"&gt;
          &lt;h3&gt;&lt;%= hsname %&gt;&lt;/h3&gt;
      &lt;/div&gt;
      &lt;ul class="friends-list"&gt;
          &lt;% friends.map do |friend| %&gt;
             &lt;li&gt;&lt;%= image_tag(friend.image) %&gt;
          &lt;% end %&gt; 
      &lt;/ul&gt; 
  &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>But it groups with out any order, I would like to order by highste value. Showing the highest group first and down. Any ideas?</p>