The notes can have references. So I just have it name the other notes that are relevant. I don't do the toposort you're talking about but I do the referencing.