I have a LINQ query I am retrieving, although in its context how would I sort the output, I have tried sortby etc. but to no avail
DataClasses1DataContext db = new DataClasses1DataContext();
var returnall = from p in db.Orders
select p.ShipName;
A handy reference for various LINQ functions can be found on the MSDN samples page.