I should sort parent based on a field of child.
sample code;
IQueryable data = context.Parents.Include(o=>o.Children);
You can take one of the children names to sort by, probably select it by doing the corresponding sorting?
Something like:
IQueryable data = context.Parents.OrderBy( p=>p.Children.OrderBy(chi => chi.Name).FirstOrDefault());