The documentation states that
"Types are used as a subordinate criterion during the sequencing of nodes within their layer."
The hierarchical layout works in several phases.
First, it assigns nodes to layers depending on the structure of the graph. (For layout orientation "top to bottom" this is the top-to-bottom order of the nodes.) Node types are not considered in this step.
Then in the second phase, the algorithm determines the left-to-right order of nodes (again assuming layout orientation "top to bottom") in each layer to minimize the number of edge crossings. This is the step that takes node types into account.
In your example, none of the layers have more than one node of a given type and thus there is nothing to do for the algorithm's node types optimization.
You can try a semi-automated arrangement: after the initial arrangement manually move your "sw" and "rtr" nodes such that they are approximately on the same vertical position. Then run the algorithm once more with option "Use Drawing As Sketch" enabled.