Sorting and pagination

Exactly! Thank you, I did it! If someone is interested - here’s my solution:

{{- $sortedPages := .Pages.ByParam "price" }}
{{ $paginator := .Paginate $sortedPages }}
{{- range $index, $page := $paginator.Pages }}
2 Likes