code: public PrecedenceOrderStep<ConfigFactory>
      withSources(List<NamedConfigSource> newSources) {
  
          return new BasePrecedenceOrderStep<ConfigFactory, NamedConfigSource>(
              checkNotNullCollectionElements(newSources)
          ) {
              @Override
              ConfigFactory fromHighestToLowestPrecedence(
                  List<NamedConfigSource> list
              ) {
                  return withSources(
                      emptyConfigSourceList()
                          .insertWithHighestToLowestPrecedence(list)
                          .atBeginning()
                  );
              }
          };
      }
docs: Replace all of this factory's {@link ConfigSource}s with
  {@code newSources}.
  
  <p>Example usage:</p>
  <pre>{@code
  ConfigFactory factory(
  List<NamedConfigSource> sourceFromHighestToLowestPrecedence) {
  
  return ConfigFactory
  .emptyConfigFactory().bindDefaults()
  .withSources(sourceFromHighestToLowestPrecedence)
  .fromHighestToLowestPrecedence();
  }}</pre>