Whenever monies have been paid into Court, or are in the hands of the Sheriff or the Registrar, and their adjudication happens to be delayed for an indefinite time, either by contestation in the suit, or for other reasons, the Court or Judge may upon the application of one of the parties, and after the others have been heard or duly notified, order that the monies be placed in the hands of the sequestrator charged with investing them until judgment, so that they shall bear interest or profits in favour of the party who eventually will be entitled to receive them, or may order the first sequestrator to invest them in like manner.