Change default tab group in palette

I’ll see if I can do it with this call. One thing I do not understand though: Nothing in this function specifies that the general tab should be active by default. I also tried to swap the ids of general and my custom module tab, but general is still active by default. I am struggling to understand what marks the general tab as the one that is active?