sorting of tabs/scripts