title: DocumentDb query with both ordering and paging on the server side, possible?
body: <p>I am writing an API to allow a client to consume time-ordered data. There is a lot of it (10k+ records per client) so I don't want to dump all of it this back to the client and order there, hence my need to both order it and page it server-side. I have the paging working, but I cannot see how to add ordering. </p>
  
  <p>I've seen recommendations to sort on the client, but given the potential amount of data that is not going to work in this case. Is there a workaround?</p>
  
  <p>Here is what I have so far:</p>
  
  <pre class="lang-csharp prettyprint-override"><code>var options = new FeedOptions {
      MaxItemCount = 25,
      RequestContinuation = continuationToken
  }
  var query = String.Format("SELECT * FROM TimelineEvent t WHERE t.acc_id = '{0}' AND t.removed != true", accountId); 
  // ORDER BY in the query text doesn't appear to work
  var events = client.CreateDocumentQuery&lt;TimelineEvent&gt;(colSelfLink, query, options).AsDocumentQuery();
  var response = await query.ExecuteNextAsync&lt;TimelineEvent&gt;();
  </code></pre>