Fixed ordering of tabs in tabpanel.