title: How would I do Subsequent sort on a child table in asp.net mvc2 using Entity Framework
body: <p>I am trying to do something like this: </p>
  
  <pre><code> ViewData.Model = _db.Questions  
                       .Include("QType")  
                       .Include("QTags")  
                       .Include("SubQuestions.Options")  
                       .Where(q =&gt; q.Active == true)  
                       .Orderby(q =&gt; Questions.Order)  
                       .Orderby(sq =&gt; SubQuestions.Order)  
                       .ToList(); 
  </code></pre>
  
  <p>But ofcourse it is not working as I want to. The Ordering works on <code>Question.Order</code>, but I would also the <code>Questions.SubQuestions</code> list to be ordered according to <code>SubQuestions.Order</code>.</p>
  
  <p>Any blatant mistakes anyone can help me resolve?</p>
  
  <p>Thanks</p>