Add ten macros/token actions to your character sheet. Click nine of them with Show as Token Action and then add a macro from the Campaign Settings tab as a token action. Select the token associated with that character sheet and the macros will show up in the proper order with the settings tab macro showing up at the end. Add the tenth macro as a token action from the character sheet and this will disrupt the order. It does this every time you have ten token actions shown and one or more global macros showing as token actions on the settings tab.