(2)In all cases of moneys deposited to which this section applies, the Court shall order the costs of the following matters, including therein all reasonable charges and expenses incidental thereto, to be paid by the Collector, namely:(a)the costs of such investments as aforesaid;(b)the costs of the orders for the payment of the interest or other proceeds of the securities upon which such moneys are for the time being invested, and for the payment out of Court of the principal of such moneys, and of all proceedings relating thereto, except such as may be occasioned by litigation between adverse claimants.