title: Asp.Net MVC - Linq Sorting Question
body: <p>I have a MVC application that I'm near completing.  But I have a situation that cannot figure out the syntax for.</p>
  
  <p>What I want to do is to sort on two columns  When I use the syntax below, it sorts by one column, then the next.</p>
  
  <pre><code>        public IQueryable&lt;vw_FormIndex&gt; FindAllFormsVw(int companyIdParam)
      {
          return _db.vw_FormIndexes.Where(d =&gt; d.companyID == companyIdParam).OrderBy(d =&gt; d.formSortOrder).OrderBy(d =&gt; d.formCustNumber);
      }
  </code></pre>
  
  <p>Suggestions Please</p>