I have the following query. Is there an easy way that I could sort the results in numeric order of RowKey. Currently RowKey is a string. I would like to sort _rowData and NOT modify this query as I want to try some different sort orders and I'm looking for one line changes and not to redo the query.
var _rowData = (from qu in _que.GetAll(
u => u.PartitionKey == partitionKey )
select new {
qu.PartitionKey,
qu.RowKey,
qu.Style,
qu.ShortTitle,
ModifiedToString = String.Format("{0:MM/dd/yyyy HH:mm}", qu.Modified)
});
I want to do the sorting outside of the LINQ query. The reason is that actually I want to be able to let the user choose a sort of RowKey, ModifiedToString and ShortTitle.