24. When the amount compensation has been settled by the Court, and there is any dispute as to the apportionment thereof, or when a reference to the Court has been made under the last preceding section, the Judge sitting along shall decide the proportions in which the persons interested are entitled to share in such amount.