@joffreyjaffeux I’ve uncovered a new bug which is likely related to this fix
The previous fix did fix the sorting problem, but now when you visit a topic and then go back to the category, the sorting goes back to latest rather than following the category settings.
For example visit this category which is set to ‘Created’ and ‘Descending’, note the order of items, visit one of the topics and then go back, note the sorting has changed. If I refresh the page it will go back to the correct sorting.
Before visiting a topic:
After visiting a topic: