The expenses of cartage, storage, and labor for merchandise entered for warehousing shall be paid in the following order:
(a) When such merchandise was warehoused in public stores, expenses of storage and labor shall be paid after expenses of sale (pro-rated when proceeds are insufficient to pay them fully) and any cartage charges shall be paid last.
(b) When such merchandise was warehoused in a bonded warehouse, expenses of storage, cartage, and labor shall be paid last (pro-rated when proceeds are insufficient to pay them fully).