title: Example of spring using Pageable, Example and Sort accessing a JPA repository
body: <p>I searched everywhere for an example of a Spring piece of code using <strong>simultaneously</strong> these 3 JPA concepts, very important when querying :</p>
  <ul>
  <li><p>filtering - using <code>Example</code>, <code>ExampleMatcher</code></p>
  </li>
  <li><p>paging - using <code>Pageable</code> (or similar)</p>
  </li>
  <li><p>sorting - using <code>Sort</code></p>
  </li>
  </ul>
  <p>So far I only saw examples using only 2 of them at the same time but I need <strong>to use all of them at once</strong>. Can you show me such an example?</p>
  <p>Thank you.</p>
  <p>PS: <a href="https://www.baeldung.com/spring-data-repositories" rel="nofollow noreferrer">This</a> has examples for <code>Paging</code> and <code>Sorting</code> but not filtering.</p>