The rule in Clayton's Case (or, to give it its full legal name and citation: Devaynes v Noble (Clayton's Case) (1816) 1 Mer 572) is a
common law presumption in relation to the distribution of monies from a bank account. The rule is based upon the deceptively simple notion of first-in, first-out to determine the effect of payments from an account, and will normally apply in the absence of evidence of any other intention.
See more at Wikipedia.org...