User-defined sorting in a paginator?

I have a view which displays results in a paginator. I want to make the column headers clickable so that results can be sorted, while retaining the contents of persistent->searchParams. Is this possible?

What paginator adapter are you using?



16.7k
use Phalcon\Paginator\Adapter\Model as Paginator;