(4) to the auditor for credit to the general school fund, such part as represents all taxes and interest chargeable in respect to any nonentered lands and all surplus proceeds of sale of any waste and unappropriated lands. In addition thereto, surplus proceeds from the deputy commissioner's sale of delinquent and nonentered lands, as well as the proceeds from the sale of escheated lands, shall be held by the sheriff for the periods provided in section sixty-five of this article and section seven, article four of this chapter, and if no claim is made therefore to the sheriff within the time therein specified, such amounts shall be paid to the auditor for credit to the general school fund. The balance, if any, of the proceeds of the lands sold by the deputy commissioner shall be prorated among the various taxing units on the basis of the total amount of taxes due them in respect to the lands that were sold or redeemed. The amounts so determined shall be credited as follows, for payment as hereinafter provided:
(1) To the auditor, such part as represents state taxes and interest; and (2) to the fund kept by the sheriff for each local taxing unit, such part as represents taxes and interest payable to such unit.