The proceeds of every sale made under a decree in equity shall be applied to the discharge of the debt adjudged by such court to be due, and of the costs awarded, and if there be any surplus, it shall be brought into court for the use of the defendant, or of the persons entitled thereto, subject to the order of the court.
Neb. Rev. Stat. §§ 25-2146