Ranking Vectors Clustering: Theory and Applications