Hi.
Currently in hierarchy layout mode the algorithm works only with sorting by ID.
That said the IDs of the nodes should be comparable (only strings or only numeric).
But you have a valid point. Implementing a parameter that should be used to determine sorting of nodes in hierarchy does make sense.
We will put this request in our feature request list for further investigation.