In case the water craft has not been discharged from custody, the judgment shall be that the same, with the appurtenances, be sold at public sale by the sheriff, after notice of the time and place of the sale, published as herein required in cases of seizure, at least 10 days before such sale. In case of petition filed prior to distribution, the judgment shall be for payment out of the proceeds of sale, and in case of claims filed against surplus proceeds, the judgment, if in favor of the petitioner, shall, in substance, affirm the claim to be sustained, and direct payment thereof from the surplus proceeds.
735 ILCS 5/4-222