Implement basic sorting for Task List Table.