B. All justices and judges of courts of record, except for judges of the superior court and other courts of record inferior to the superior court in counties having a population of less than two hundred fifty thousand persons according to the most recent United States census, shall be appointed in the manner provided in section 37 of this article.