Implemented Comparable to Task

Tasks produce from view by period are now sorted according to date