@Override
    public int compareTo(SortedFile o) {
	if(this.counterName.compareTo(o.getCounterName()) < 0) 
	    return 1;
	else if(this.counterName.compareTo(o.getCounterName()) > 0)
	    return -1;
	    
	if(this.counter < o.counter)
	    return -1;
	else if(this.counter > o.counter)
	    return 1;
	return 0;
    }