Try to ensure that lattice nodes are output in topological order