Fix unsorted voided transactions