Section 97. The court may, upon a hearing, determine the rights of the several attaching creditors and award a separate execution for the amount due or payable to each, to be served and levied to his own use in the manner provided when a judgment is rendered on an administration bond; or it may award one execution for the whole amount due on the bond and cause the money received to be distributed among the creditors according to their respective rights.