Does order of tensorflow pbtxt nodes matter?

I have a tensorflow pbtxt graph, which contains many nodes. The nodes are out of order, some nodes are placed before their input nodes.
Now I cannot build this pb graph into relay with relay.frontend.from_tensorflow api, can this be caused from the node-order?