Where one has a lien upon several things and other persons have subordinate liens upon or interests in some but not all of the same things, the person having the prior lien, if he can do so without risk of loss to himself or of injustice to other persons, must resort to the property in the following order on the demand of any party interested:
SDCL 44-3-1