https://www.codeofaninja.com/paginating-sorting-and-displaying-data/
Paginating, Sorting and Displaying Data with CakePHP