code: private int getPriority(ResourceReader o1) {
  
  		int priority = 0;
  		if (o1 instanceof ServletContextResourceReader) {
  			priority = baseDirHighPriority ? 5 : 4;
  		} else if (o1 instanceof FileSystemResourceReader) {
  			priority = baseDirHighPriority ? 4 : 5;
  		} else if (o1 instanceof CssSmartSpritesResourceReader) {
  			priority = 1;
  		} else if (o1 instanceof ResourceGenerator) {
  			if (((ResourceGenerator) o1).getResolver().getType().equals(ResolverType.PREFIXED)) {
  				priority = 3;
  			} else {
  				priority = 2;
  			}
  		}
  		return priority;
  	}
docs: Returns the priority of the resource reader
  
  if the FileSystemResourceReader is configured with high priority the list
  of priorities is as follows :
  
  5 - ServletContextResourceReader 4 - FileSystemResourceReader 3 -
  Generator with prefixed path 2 - Generator with suffixed path 1 -
  CssSmartSpriteResourceReader
  
  if the FileSystemResourceReader is configured with high priority the list
  of priorities is as follows :
  
  5 - FileSystemResourceReader 4 - ServletContextResourceReader 3 -
  Generator with prefixed path 2 - Generator with suffixed path 1 -
  CssSmartSpriteResourceReader
  
  @param o1
  the resource reader
  
  @return the priority of the resource reader