Whenever the appointment of prison commissioners in any county having a population of more than 150,000 is by law lodged in the judges of the court of common pleas, the appointments shall, in all cases as nearly as possible, be equally divided between the two political parties polling the highest number of votes at the preceding general election.
61 Pa.C.S. § 1742