In all cases where either party is adjudged to pay costs before final judgment, by reason of setting aside a voluntary dismissal, a dismissal for want of prosecution or a default, or the granting of a continuance or new trial, or otherwise, and in all cases where there is security for costs, or attorney liable for costs, or an action brought to the use of another, and the plaintiff is adjudged to pay the costs, either before or upon final judgment, it shall be lawful for the clerk to prepare and tax a bill of costs so adjudged to be paid, against the party adjudged to pay the same, and against his or her security for costs, or other person liable for the payment thereof, or either of them, and certify the same under the seal of the court, which being delivered to the sheriff of the proper county, the sheriff shall demand payment from the person therein charged; if payment is not made accordingly, within 30 days after such demand, the sheriff shall levy the same on the goods and chattels, lands and tenements of the person so chargeable, and proceed therein in the same manner as judgments for the payment of money are enforced.
735 ILCS 5/5-125