When publishing recursively a node and its children having those different node types, order is not preserved in the public instance.
Steps to reproduce:
- From JCR browser create a node of type folder in any workspace.
- Create different child nodes with different types
- Publish node created in step 1 with subnodes
- Go to Public instance and check that the order is not preserved
Repeat these steps without changing node types, now order is preserved in the public instance.
The attached AUTHOR.png shows test-ordering node with different types and test-ordering2 with same type. In the PUBLIC picture it can be seen that the order is not preserved.
It seems that info.magnolia.publishing.sender.AbstractSender.getOrderingInfo(Node) method takes into account the type of node by calling info.magnolia.jcr.util.NodeUtil.getSiblingsAfter(Node, String)
This problem was already fixed in Activation Module (not yet applied to Publishing). Check linked tickets.