Robuta

https://cran.r-project.org/web/packages/dendsort/index.html CRAN: Package dendsort An implementation of functions to optimize ordering of nodes in a dendrogram, without affecting the meaning of the dendrogram. A dendrogram can be sorted based... cranpackage