todo list sort method without argument