Sell + Buy
Selling and Buying at the Same Time
Moving from one property to another is a sequencing problem. These resources cover how to control the order of events.

The two orders
Sell first and you know your proceeds but may need temporary housing. Buy first and you have somewhere to go but may carry both. Every tool — contingency, rent-back, bridge financing, a firm cash close — is a way of softening one of those.