Seol mar théacs é seo: The role of mergers in driving morphological transformation over cosmic time