[Clustering] How to sort a distance matrix | Hacker News Reader