change complete_tasks to return an array sorted by created_at times
finishing incomplete_tasks method