The proceeds of any foreclosure sale authorized by this chapter shall be distributed by the special magistrate conducting the sale according to the final decree, and if any surplus remains after the payment of the full amount of the decree, costs and attorney's fees, and any subsequent tax liens that may be directed by such decree to be paid from the proceeds of sale, such surplus shall be deposited with the clerk of the court and disbursed under order of the court.
Fla. Stat. § 173.11