title: Entity Framework loading child collection with sort order
body: <p>I have two tables a parent and a child table. The child table has a column sortorder (a numeric value). Because of the missing support of the EF to persist a IList inclusive the sort order without exposing the sortorder (see: <a href="https://stackoverflow.com/q/4327281/775403">Entity Framework persisting child collection sort order</a>) my child class has also a property SortOrder, so that i can store the children with the sort order.</p>
  <p>In contrast to the author of the referenced question I try to load the children always sorted. So if I load a parent instance I expect, that the child collection is sorted by sort order. How can I achieve this behaviour with the Code First Fluent API and POCO's?</p>
  <p>Hint: It's not an option to call .Sort(...) on the child collection.</p>