Same Realtor to buy and sell?

OP is talking about using the same agent for two different transactions (buying new house and selling old house), not the same agent representing both the buyer and seller in a single transaction.