And they could be seen by the person you sold it to.

Warning: Even If You Wipe Your Smartphone Clean, Your Sexts Might Still Be Recoverable