log: sort logging categories alphabetically
Summary:
Sorting the logging categories seems more user-friendly with the number of categories we now have, allowing CLI users to more quickly find a particular category.
This is a backport of core#22530
Test Plan:
ninja all check-all src/bitcoind -h | grep -A8 "debug=<category>" src/bitcoind -daemon && sleep 10 && src/bitcoin-cli logging [] '["addrman"]' && src/bitcoin-cli stop
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D12041