public int compareTo(Posting other){
		if(this.freq > other.freq)
			return 1;
		else if(this.freq == other.freq && this.docID > other.docID)
			return 1;
		else if(this.freq == other.freq && this.docID == other.docID)
			return 0;
		else 
			return -1;
	}