How to prevent the subgraph cluster alignment order from being reversed?

I just opened another topic on the forum about clustering.

Since you mentioned “the implementation of build_ranks called from expand_cluster”, maybe there is a link…