The default sorting order is:
Pinned accounts at the top.
Non-pinned accounts below pinned ones.
Muted accounts after non-pinned ones.
Accounts with live chat turned off at the bottom.
However, when an account has unread messages, it automatically moves up to the top of the list, breaking alphabetical order. Pinned and non-pinned accounts remain separate in this behavior.