It does seem that the order is: Trust Level first, then gold badges, then silver, then bronze, sorted alphabetically.
I wish we had better control over this. I would much rather highlight a custom community-oriented bronze badge than Anniversary, which is silver. Is there anything planned to let us give our badges more visibility?