todo.py now sorts by priority