In such case as is mentioned in § 8.01-371 and whether a forthcoming bond is given or not, if the property be expensive to keep or perishable, the court in which proceedings in the case under § 8.01-365 are pending or may be had, may, before a decision of the rights of the parties under such proceedings, on the application of such claimant or of the surety in such suspending or forthcoming bond, after reasonable notice of the intended application has been given by such claimant or the surety to the other parties in the case, order a sale of the property, or any part thereof, on such terms as the court may deem advisable. The court shall apply the proceeds according to the rights of the parties when determined.
Va. Code § 8.01-372