docs: private ArrayList<ResourceRequirement> getSortedRAMComponents(Set<String> componentNames) {
      ArrayList<ResourceRequirement> resourceRequirements = new ArrayList<>();
      Map<String, ByteAmount> ramMap = TopologyUtils.getComponentRamMapConfig(topology);
  
      for (String componentName : componentNames) {
        resourceRequirements.add(new ResourceRequirement(componentName,
            ramMap.getOrDefault(componentName, ByteAmount.ZERO)));
      }
      Collections.sort(resourceRequirements, SortingStrategy.RAM_FIRST.reversed());
      return resourceRequirements;
    }