Blog Posts not sorted and pagination not adjusted after filtering some category

Depending on how many categories you will have, I would create result pages for each category.
I would do the filtering with the GET method as you already did. And it would use a switch case to select each result page.