implemented comparable for ToDOTask and sort