No real estate shall be sold until all other property and money subject to the attachment have been exhausted, and then only so much thereof as is necessary to pay the judgment. Upon a sale of real estate, under an attachment the court shall have the same powers and jurisdiction, and like proceedings thereon may be had, as if it were a sale of real estate by a court of equity exercising general equity powers.
Code 1950, § 8-559; 1977, c. 617.