code: synchronized public List<ParserProvider> getAllProviders(boolean sort) {
      List<ParserProvider> providers = new ArrayList<>();
      for(ParserProvider pp : loader) {
        providers.add(pp);
      }
      if (sort) {
        Collections.sort(providers, PARSER_PROVIDER_COMPARATOR);
      }
      return providers;
    }
docs: Returns all parser providers sorted based on priority if required.
  
  @param sort
  @return