Allow filter / sort on due, overdue, paid

Ref: #330437: Invoices issues