Click the tab you want to move and drag it to where you want it to be. An arrow will appear showing where the tab will move to. See the image below for clarification.