Contrary to what ResourceReferenceHandler#getPriority() javadoc say, the bigger number is executed first.