Sorting is unnecessary as the data is already sorted by the metrics generator.  And in fact, this sort method doesn't always work and can generate interesting line graphs. :)  You should be safe to toss this.