Add sorting, searching of totals