title: XQuery order by ascending and descending
body: <p>In XQuery, How do you order by ascending and descending?</p>
  
  <p>I have got the following from a tutorial:</p>
  
  <pre><code>for $x in doc("books.xml")/bookstore/book
  where $x/price&gt;30
  order by $x/title
  return $x/title
  </code></pre>
  
  <p>would it be</p>
  
  <pre><code>for $x in doc("books.xml")/bookstore/book
  where $x/price&gt;30
  order by $x/title ascending
  return $x/title
  </code></pre>