I am trying to do something like this:
ViewData.Model = _db.Questions
.Include("QType")
.Include("QTags")
.Include("SubQuestions.Options")
.Where(q => q.Active == true)
.Orderby(q => Questions.Order)
.Orderby(sq => SubQuestions.Order)
.ToList();
But ofcourse it is not working as I want to. The Ordering works on Question.Order, but I would also the Questions.SubQuestions List to be ordered according to SubQuestions.Order Any blatant mistakes anyone can help me resolve?
Thanks