It looks like you want
var query = DataAccess.TimelineCollection
.OrderBy(t => t.MileStones.Min(m => m.Time));
In other words, for everyone, TimeLinefind the earliest milestone and use it to organize.
Of course, if the milestones are ok, you can use:
var query = DataAccess.TimelineCollection
.OrderBy(t => t.MileStones.First().Time);
Both of them will not work if either TimeLinedoes not have control points.
source
share