add pagination_sort param to index queries