Is there any way to perform an OrderBy with an aggregated field (string.Join)?
var query = <Some IQueryable<T>>;
query = query.OrderBy(x => string.Join(",", x.Values.Select(v => v.Name)));
I am building dynamic queries and came up a need to order by a column that is agreggated like the above example.
Thanks in advance