public final SortMetrics sort(Object[] data) { values = data; curMetrics.init(); doSort(); return getMetrics(); }