All liens by attachment shall accrue at the time the property of the defendant shall be attached by the officer charged with the execution of the writ, in the order in which the writs are levied, and said lien shall not be affected by any subsequent attachment or by any judgment obtained subsequent thereto.
§ 27-18-307, MCA