Sell first, then buy
The safest, most flexible path. You know exactly what your home sells for, your proceeds are in hand, and you can make a strong, clean offer on the next home. The tradeoff: you may need a place to land between the two moves, whether that is a rent-back, a short-term rental, or family.
Best for buyers who want the least financial risk and the most leverage.