I want to say it is one of a few things, I just don’t remember which one exactly
- Like Kal said, it’s loaded by order in the database which means in the order the module was installed
- Alphabetically
In any case you can look to see where the hook is created like in lib.php and use something like u*sort kind of like how the main menu is sorted by the sort order parameter in the constructor by creating a file or even using the xml file and adding a sort order there