title: Order By Date ASC with Spring Data
body: <p>I try to make an application with Spring-Data-JPA on a table in order by ASC but it gives me an error:</p>
  
  <pre><code>Invalid derived query! No property asc found for type java.util.Calendar
  </code></pre>
  
  <p>Why ?</p>
  
  <pre><code>List&lt;Foo&gt; findAllOrderByDateAsc();
  </code></pre>
  
  <p>or</p>
  
  <pre><code>@Query("SELECT * FROM foo ORDER BY date ASC")
  List&lt;Foo&gt; findAllOrderByDateAsc();
  </code></pre>