Import list_tasks to be able to refresh task list.
sort tasks by scheduled date