It shall be the duty of the sheriff, upon receiving the amount of the bid at any sale, either before or after judgment, from the purchaser, or in case the purchaser is the plaintiff or an intervenor, upon receiving so much of the bid as the court directs by order, reference being had to the relative amount of the buyer's claim, to deliver such water craft and appurtenances to the purchaser, with a bill of sale thereof, and to return and to deliver to the clerk of court the amount received on such sale.
735 ILCS 5/4-224