Almost every well-built Tanzania trip runs safari first and Zanzibar second, and the reasons are practical rather than aesthetic.
Safari days start before dawn, involve long hours in a vehicle on rough roads, and accumulate fatigue quietly. Doing them at the start means you arrive fresh, when early mornings are easy and enthusiasm is high. Zanzibar afterwards absorbs the tiredness rather than competing with it, and a beach week is the only part of the trip that can be adjusted downwards without losing anything — a slow day on the sand is still a good day, while a slow day in the Serengeti is a wasted permit.
The flight logic points the same way. The scheduled hops from the northern-circuit airstrips to Zanzibar are frequent and short, and Zanzibar has good international departures. Running the trip in reverse usually means an early beach-to-bush flight and a first game drive with your bags still being unpacked.
The exceptions are real but narrow: a very long-haul arrival where two recovery nights before safari genuinely help; a fixed date on the island such as a wedding; or a migration window that only works late in your dates. Outside those, safari first is the right default.