Sorted metrics

For what do we need this method? Where is it being used?