I can't figure out how to add a OrderBy clause to a TableQuery with Azure Table Storage.
According to their documentation Azure supports OData $orderby. If I try to hack it by adding $orderby=PartitionKey
to the TableQuery Where clause the '$'
is HTTP-encoded and I get a 400 server error because of it - so hacking it in wont work. Here is what my hack produces:
GET /devstoreaccount1/NewTable3?$filter=PartitionKey%20ne%20%27pkey992%27%24orderby%3DName&$select=Name%2Cregistered%2CPartitionKey%2CRowKey%2CTimestamp HTTP/1.1
Does TableQuery support OrderBy, and if yes then how?