Pagination with itemsPerPage and pageNumber, Sorting with sortBy