title: Specifying sort order in a JSON API
body: <p>My team recently adopted the <a href="http://jsonapi.org/" rel="noreferrer">json api convention</a>. In the documentation for the api sorting is not addressed. </p>
  
  <p>They do however address <a href="http://jsonapi.org/recommendations/" rel="noreferrer">filtering</a> in the recommendations page but in my opinion, sorting is not part of filtering since filtering is used to reduce a set while sorting is used to re-order a set.</p>
  
  <p><strong>Given the json api convention, I'd like to know:</strong></p>
  
  <ul>
  <li>Should sorting be the responsibility of the api or the client?</li>
  <li>If it should be the responsibility of the api, are there any guidelines for structuring the url to handle sorting? </li>
  </ul>