Note: that it might also make sense to simply have most recent invoices always showing and not bother with the first order status sort.