Sorted the tabs