Tosylate is a better leaving group than iodide.
What makes one leaving group better than the other is how stable is the group after it has broken its bond with the parent molecule.
We can also think of it in this manner: We calculate it from the basicity of the group.
(weak base -> more stable while solvated -> better leaving the group).
Tosylate groups (
There is no resonance stabilization in case of iodine. However, iodide is regarded as the best leaving group amongst the halogens because iodide is a weaker base than -OH since its conjugate acid HI is a stronger acid than H2O. So, iodine is a better leaving group.