Whenever the property of several persons is subject to the lien of any judgment to the discharge of which such persons should by law or equity contribute, or to which one of such persons should have subrogation against another, the court may require the judgment creditor to levy upon and make sale of the property liable to execution for the payment of the judgment in the proportion or in the succession in which the properties of the several persons are in law or equity liable to contribute towards the discharge of the common incumbrance. The court may direct to what uses the judgment shall be assigned, and when assigned may direct all executions thereon, so as to subserve the rights and equities of all persons whose property is liable to execution.
42 Pa.C.S. § 8102