added toggle sort to Tasks