Better ordering of tabs