title: Spring Data Rest specify default order by
body: <p>I am new to Spring Data Rest and looks like exactly I want to use to easily expose some existing database tables as restful services. I have managed to get an example working by following this <a href="https://spring.io/guides/gs/accessing-data-rest/" rel="nofollow noreferrer">guide</a>. This works but how would I display all rows ordered by a creation date field by default?</p>
  
  <p>I tried adding a findAllByOrderByCreationdateDesc() method which appears as a new search method through the REST interface but I would ideally like to do this by default when all items are displayed. </p>
  
  <p>Any pointers would be great.</p>