The built-in Safari method
In Safari, drag a tab left or right to move it. To move several tabs together, Command-click tabs that are not next to one another, or Shift-click a range, then drag the selected set. Safari also provides Window > Merge All Windows when the immediate goal is to bring tabs into one window before arranging them.
This manual approach is precise because you decide the final location of every tab. It becomes slower when titles are shortened, several windows are open, or you first need to identify which pages belong together.
Sort without losing context
TabCaptain separates inspection from the final change. Its list can be searched, sorted and viewed by domain, so you can establish a useful order before touching the Safari tab bar. Sorting the TabCaptain view is included free.
Applying that preview to Safari is an explicit action. Because this changes another app, macOS may ask for Automation permission when you press Apply order. TabCaptain does not need that permission merely to show or sort its own list.
Which order should you use?
Alphabetical sorting is useful when you remember a page title. A domain-grouped view is better when the task is to gather pages from the same website. For a temporary research project, a saved session or custom work group may be more useful than repeatedly rearranging the live tab bar.
- Use manual dragging for a few known tabs.
- Use search before sorting when you know part of the title or address.
- Use domain groups when websites matter more than page titles.
- Save a session before a large cleanup if you may need the set again.