How to get List from Page in Spring Data REST
<p>I am using <code>JPARespository</code> for all my CRUD operation.
Recently I wanted to implement sorting, so I went ahead with <code>Pagable</code>.</p>

<p>The problem is, I want the repository methods to return <code>List</code> objects, I use them in my service layer.</p>

<p>How can I achieve this, is there a way to convert these <code>Page</code> objects to <code>List</code>?</p>