code: private static CmsPriorityTitleResourceComparator create(CmsResource resource, CmsObject cms) {
  
          CmsPriorityTitleResourceComparator result = new CmsPriorityTitleResourceComparator(null);
          result.init(resource, cms);
          return result;
      }
docs: Creates a new instance of this comparator key.<p>
  
  @param resource the resource to create the key for
  @param cms the current OpenCms user context
  
  @return a new instance of this comparator key