public int compareTo(StatView o) {
        int r = getName().compareTo(o.getName());
        if (r == 0) {
            r = -stat.getWhen().compareTo(o.stat.getWhen());
        }
        return r;

    }