public virtual IQueryable Build() { var query = Query; Sorts.ForEach(sort => { query = QueryableHelpers.CreateOrderByExpression(query, sort.Path, sort.Direction, sort.Append); }); return(query); }