Consistent initial sorting of tabs