title: How can I sort one column by ascending and another by descending in Spring Data?
body: <p>Given the following page request let's say I wanted to Sort Descending by "created" but ascending by "name", how would I do that? the api doesn't seem to allow "direction" "field" pairs.</p>
  
  <pre><code>new PageRequest( 1, 15, Sort.Direction.DESC, "created", "name" )
  </code></pre>
  
  <p>using Spring Data JPA 1.6.5.</p>