I did a test, and they're not ordered by adapter id or name. In the screenshot, "Room Mics" is at the end, even if I change the id from "SoundStructure" to "DSP_SoundStructure". They're also not ordered by which comes first in styles.
Looks like the buttons appear in the order that they are defined in "adapters". This is fine, but should be documented.