sorting. tasks in list