Adding ability to sort by dendrogram order.