title: Azure DocumentDB: order by and filter by DateTime
body: <p>I have the following query:</p>
  
  <pre><code>SELECT * FROM c 
  WHERE c.DateTime &gt;= "2017-03-20T10:07:17.9894476+01:00" AND c.DateTime &lt;= "2017-03-22T10:07:17.9904464+01:00"
  ORDER BY c.DateTime DESC
  </code></pre>
  
  <p>So as you can see I have a <code>WHERE</code> condition for a property with the type <code>DateTime</code>and I want to sort my result by the same one.
  The query ends with the following error:</p>
  
  <pre><code>Order-by item requires a range index to be defined on the corresponding index path.
  </code></pre>
  
  <p>I have absolutely no idea what this error message is about :(</p>
  
  <p>Has anybody any idea?</p>