fix the todo list's order, add line number