code: @Override
  	public int compare(ResourceReader o1, ResourceReader o2) {
  
  		return getPriority(o1) - getPriority(o2);
  	}
docs: /*
  (non-Javadoc)
  
  @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)