qt,macos: improve advanced prefs tree node sort order
- Implements alphabetical sorting of subcat and plugin tree nodes for macos, to mirror what is done in Qt.
- Implements a fixed preferred order for root category nodes.
Reviewers, please note that the macos side was written blind. It compiles, but I have no apple device to view the result. Please can someone with an apple device check the result works as intended.
The commit logs as always give their own explanation, but essentially I've always felt, from my experience using the Qt interface which implements alphabetical sorting, that it is ugly that the first node in the tree and thus the first you see upon switching to "all"/advanced/complete view, is the "advanced" category, which is one of the most messy in terms of organisation, probably the one users are least interested in, and with it's "advanced setting, use with care" warning, has potential to scare users away.
The new order is:
- Playlist
- Interface
- Audio
- Video
- Input / Codecs
- Sout
- Advanced
Screenshots follow.