(1) If a receiving bank has received more than one  payment  order  of
the  sender  or  one  or  more  payment  orders and other items that are
payable from the sender's account, the  bank  may  charge  the  sender's
account with respect to the various orders and items in any sequence.
  (2)  In  determining whether a credit to an account has been withdrawn
by the holder of the account or applied to a debt of the holder  of  the
account,  credits  first  made  to  the  account  are first withdrawn or
applied.
Structure New York Laws
Part 5 - Miscellaneous Provisions
4-A-501 - Variation by Agreement and Effect of Funds-Transfer System Rule.
4-A-502 - Creditor Process Served on Receiving Bank; Set Off by Beneficiary's Bank.
4-A-503 - Injunction or Restraining Order With Respect to Funds Transfer.
4-A-505 - Preclusion of Objection to Debit of Customer's Account.