In other states the civil-law rule, that the creditor must apply payments so as to discharge that debt which it is most for the debtor's interest to have discharged, is followed.1