You can't buy until you sell.
You don't want to sell with nowhere to go.
And the house needs work before it can even hit the market.
Most agents hand you a listing agreement and wish you luck with the rest. The selling part was never the hard part. The everything at once part is.