Removed needless cluster sorting from k-means iterations.