sort objects in the array by name
sort tasks by date
sort tasks by priority