After the sale the referee was entitled to receive from the defendant, Scott, $800, that being the highest sum bidden, and Scott being the bidder. If that sum had been paid over to the referee the court would have held it as the proceeds of the property. It would have been chargeable with the costs and expenses. The court had the right to deduct the costs and expenses. Section 1580 of Code of Civil Procedure: That section also provides that the balance of any proceeds of sale “ must be awarded to the parties whose rights and interests have been sold in proportion thereto.”
Section 1519 also provides “ that where final judgment confirming a sale is rendered, the costs of each party to the action and the expenses of the sale, including the officers’ fees, must be deducted from the proceeds of the sale and each party’s costs must be paid to his attorney.” .
If the $800 had been paid over to the referee, any cost allowed either party and the officer’s fees would be deducted therefrom. However, no deduction of costs could be made until the award of costs was made. The latter part of the section confers a discretion upon the court to “ direct that the costs and expenses of any trial, reference or other proceeding in the action be paid out of the share of any party in the proceeds.”
The court has by its judgment, in effect, determined that the defendant, Scott, was entitled to the proceeds of the sale remaining after deducting the costs and expenses allowed, by it to the plaintiff and J. Henderson. It has exercised its discretion in regard to the costs allowed — it has, in effect, awarded plaintiff her costs, payable out of the fund arising upon the sale, and also allowed the defendant, Henderson, ten dollars costs, and, in effect, directed that they be paid out of the proceeds. Hnder the award made by the court the defendant, Scott, who appeals, is in the same situation that he would be in had the court directed him as purchaser to pay over to the referee $800, the purchase-price bid for the premises, and the referee to pay with and out of it the plaintiff’s costs and the defendant, Henderson, ten dollars, and the balance of it to the defendant, Scott. Had such direction been given then the plaintiff’s costs and the ten dollars allowed Henderson would have been allowed out of the proceeds of the sale, and the balance of the pro*25ceeds would have been turned over to Scott to satisfy his equities in the premises. Those equities seem to have been adjusted and allowed to Scott upon the assumption that the lands were worth more than the betterments. (Ford v. Knapp, 102 N. Y., 135.) However, the sale took place because an actual partition was found impracticable, and the proceeds of the sale if actually paid into the court by a deposit into the hands of the referee, would be held for distribution “ to the parties whose rights and interests have been sold in proportion thereto.” (Code of Civil Procedure, § 1580.)
It having been determined that the “rights and interests” of Scott in the premises were more than the premises brought, he was entitled to the whole proceeds of the sale “ after deducting therefrom the costs and expenses chargeable against them.” (Code, § 1580.)
There remains to be considered the question of the power of the court to award costs to the plaintiff and defendant Henderson, payable out of the fund. We think the court possessed the power and had the right, in the exercise of its discretion, to award to the plaintiff and Henderson costs, and to direct them to be paid out of the share of any party in the proceeds. It also possessed the power and might, as a matter of discretion, have ordered plaintiff’s costs and Henderson’s paid by defendant Scott, and might have rendered judgment against him therefor. (Code of Civil Pro., § 1579; Code of Civil Pro., § 3230; Ford v. Knapp, supra; Black v. O'Brien, 23 Hun, 82.)
We are of the opinion that the court exercised its discretion properly in the premises, and that the defendant Scott has no ground that is secure and substantial upon which to stand in his complaint of the action of the court. He is just as well off, so far as we can see, as though the court had formally ordered the $800 bid by him paid over to the referee and distributed to pay such costs and expenses as the court awarded the plaintiff and Henderson.
The question is a novel one, we may affirm without costs to either party. (Chipman v. Montgomery, 63 N. Y., 221.)
Boaedman and Follett, JJ., concurred.So much of the order as is appealed from affirmed, without costs to either party to the appeal.