task - confirm note creation

i have created a method in DatabaseHandler class named getAllBytime this
method should get all the task sorted by Createddate in ascending order.