Table below is bound with Todo.items array and uses filtering and ordering (click on column header).
The switch allows to select filter you need.
Done Group Subject
Set all done Set all pending