Further to my earlier question, having returned the sub-entities belonging to a particular record, is it possible to sort then (assuming they are a collection) as part of the initial query - in this example, by descending date order for example?
var customerWithOrders = await _customerServiceThanks.
.Query(c => c.CustomerID == key)
.Include(x => x.Orders)
.SelectAsync()
.FirstOrDefault();