debug ordering when a task is back to todo state