Should sorting reset pagination?
Order of data transformation
You can see that both filtering and sorting come before pagination. This means that whenever the order changes (sort), you should repaginate.
What does it mean to paginate a document?
Pagination is the process of separating print or digital content into discrete pages. For print documents and some online content, pagination also refers to the automated process of adding consecutive numbers to identify the sequential order of pages.