This all depends on execution order for the template hooks. If you are in debug mode, modify the execution order of the 'template_hook' event listeners to be the order in which you want the tabs to appear.
By default, they all receive 10 and most add-on developers don't change this.
Note, this may start to fail with 1.2 and TMC.