I have a question regarding networks, I just recently started studying graph theory, and I was wondering for this network below

can I say that a path connecting $B$ and $H$ is B-A-C-D-G-H or B-A-F-E-D-G-H? Like A coming after the B, I know that we usually look for the shortest path like B-C-D-G-H ( 4 degrees of separation).. but I am just wondering does order matter in general when we are dealing with networks?