If the finding upon such issue be in favor of the surety, the court shall make an order directing the sheriff to levy the execution upon, and first exhaust the property of the principal before a levy shall be made upon the property of the surety, and the clerk shall indorse a memorandum of the order upon the execution.