The proceeds of the sale, after deducting the costs of the proceedings, shall be invested by the Court in whole or in part for the benefit of the various parties and interests as their rights appear, or divided among the parties entitled according to their several interests and the rules of law and equity.
25 Del. C. § 733