Move sorted_page out of function
Add category view
Add category title
Add conditionals to show pagination controls
Add category links
Add category docs