To stop unread messages from reordering your chat list and instead sort your account list alphabetically:
Click the three dots at the top right of the chat list.
Select Stop prioritizing unread.
This will keep chats sorted alphabetically while still distinguishing pinned and non-pinned accounts.