Rectangle 27 1

c Avoid switch case linq?


queryResults = queryResults.OrderBy(sort);

You could use DynamcLinq. I haven't touched it in over a year, but I had the expected results. Your code would change to:

Note
Rectangle 27 1

c Avoid switch case linq?


queryResults = queryResults.OrderBy(sort);

You could use DynamcLinq. I haven't touched it in over a year, but I had the expected results. Your code would change to:

Note