preference for expense of boarding prisoners.] In the event that there is an insufficient amount of money collected during any current year with which to pay for the services, fees and salaries of the several officers mentioned in Section 6-6-13 N.M. Stat. Ann., then and in that event the said officers and all creditors shall receive in full payment of their respective claims each his pro rata share of the money collected, and the payment of said pro rata part shall be made quarterly between all officers and creditors and in the event of an insufficient amount of money to pay in full for any one quarter the officers and creditors remaining unpaid shall not be paid that amount until the salaries and expenses of the next succeeding quarter or quarters shall have been paid, and in the event all the officers and creditors of any one quarter shall have been paid in full and there then remains any money for the current year, the same shall then be distributed pro rata among the said officers and creditors: provided, that all the actual expenses for boarding county prisoners shall be paid in full befor [before] any bill, fees or salaries are paid and before any pro rata is made, and such expenses may be paid at the expiration of each and every quarter.