As an engineering leader, you'll have to face team reorganizations at some point. Here is a tried-and-true method from Yelp's David Kiger. https://leaddev.com/management/how-plan-team-reorganizations