not sure why the code isn't appearing properly in the initial post, so here it is again
return Execute(() => {
string Id = request.Id;
var Data = someapi.GetData(Id).AsEnumerable().
Select(x => new {
Id = x["myID"],
Desc = x["Desc"],
});
int totalCount = Data.Count();
//How to sort here given I have the above..
});
Answers
not sure why the code isn't appearing properly in the initial post, so here it is again
Sorting happens by default, or do you mean some form of custom sort?
Colin