Whenever several judgments shall be recovered against the sureties on any official bond in actions which shall have been commenced before the date of the entry of the last of such judgments the aggregate of which, exclusive of costs, shall exceed the sum for which such sureties remain liable at the time of the commencement of such actions, they may discharge themselves from all further liability upon such judgments by paying into court the sum for which they are then liable, together with the costs recovered on such judgments; or the court may, upon motion supported by affidavit, order that no execution for more than a proportional share of such judgments shall be issued thereon against the property of such sureties or either of them and that upon payment or collection of such proportional share they shall be discharged from the judgment or judgments upon which such proportional share shall be paid or collected. When the money is paid into court by the sureties as above specified the same, exclusive of the costs so paid in, shall be distributed by an order of the court to the several plaintiffs in such judgments in proportion to the amount of their respective judgments. But every judgment shall have precedence of payment over all judgments in other actions commenced after the date of the recovery of such judgment.
Wis. Stat. § 19.06