private void setSort(int tri){
		
		if(tri<0){
			order = Order.DESC.toString();
		} else {
			order = Order.ASC.toString();
		}
		
		if((tri>5 || tri<-5) || (tri<2 && tri>-2)) {
			this.tri = CRITERIA[0];
		} else {
			if(tri>0)
				this.tri = CRITERIA[tri-2];
			else
				this.tri=CRITERIA[-tri-2];
		}
	}