Fixes sorting by new metrics.