This is a problem with one vendor who uses three different types of invoices in one month. (Sxxxxxxx, or Rxxxxx or xxxxxxx. The program seems to order them by date.