Here is one I am working on:
var fStep = from insp in sq.Inspections where insp.TestTimeStamp > dStartTime && insp.TestTim
wrap the whole query in parentheses and
.OrderBy(x => x.FailedCount).ThenBy(x => x.CancelCount);