tsort object needs to be instance based