I have a program that displays a family tree, essentially a hierarchical system. When I run it in google chrome, the order of the nodes appears correctly. But in firefox, the nodes get reshuffled every time the page reloads. Is there any way to solve this problem and keep the nodes in their correct orientations?

Thank you