docs: public boolean isSortedFromTo(int from, int to) {
  	if (size==0) return true;
  	checkRangeFromTo(from, to, size);
  	
  	Object[] theElements = elements;
  	for (int i=from+1; i<=to; i++ ) {
  		if (((Comparable)theElements[i]).compareTo((Comparable) theElements[i-1]) < 0) return false;
  	}
  	return true;
  }