docs: protected void sortResolvedResources(List<HalResource<?>> resolvedResources) {
      Comparator<HalResource<?>> comparator = getResourceComparator();
      if (comparator != null) {
        Collections.sort(resolvedResources, comparator);
      }
    }