title: How to order a list alphabetically depending on another list
body: <p>I have a page that displays Companies, they all are appart of groups. Here is the display of the page: <a href="https://i.stack.imgur.com/Ev1NK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ev1NK.png" alt="enter image description here"></a></p>
  
  <p>The first column contains the names of the groupes and the second of the companies.</p>
  
  <p>What I want to achieve is to order the list first by Group name alphabetically (which has been done) and THEN order the items that are appart of one group alphabetically between each other.</p>
  
  <p>I order the Groups like such :</p>
  
  <pre><code> return View(_service.List().OrderBy(o =&gt; o.GroupId).ToList());
  </code></pre>
  
  <p>Where <code>_service.List()</code> gives the list of Groups.</p>
  
  <p>How can I achieve it?</p>