27-18-804. Sale of property subject to a security interest -- disposition of proceeds, security agreement. (1) When the property taken under 27-18-413 is sold under process, the officer levying the writ must apply the proceeds of the sale as follows:
(a) to the repayment of the sum paid to the secured party, with interest from the date of such payment; and
(b) the balance, if any, in like manner as the proceeds of sales under execution are applied in other cases.
(2) In the event the property is sold under attachment, such attaching creditor shall be required to deliver to the debtor the security agreement and any note or other evidence of indebtedness secured thereby obtained from the secured party when the property is sold for the amount of the indebtedness under the security agreement or an amount in excess thereof.