In such case as is mentioned in § 8.01-365, when no bond is given for the forthcoming of the property, the court may, before a decision of the rights of the parties, make an order for the sale of the property, or any part thereof, on such terms as the court may deem advisable, and for the proper application of the proceeds. The court may make such orders and enter such judgment as to costs and all other matters as may be just and proper.
Va. Code § 8.01-366