New Todo List with newIndex functionality
Sorting the ToDo List