FIX: ensures category order keeps consistent (PR #10165)

Before this change:

  • first full page load would get category defaults defined un cateory settings
  • a navigation to a topic and then back to categories list would reset defaut to the ones defined in discovery/topics


This pull request has been mentioned on Discourse Meta. There might be relevant details there: