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.
All
Pending
Complete
All
Done
Group
Subject
Set all done
Set all pending