Sorted metrics

Shouldn't an exception be thrown in this case?