class_docstr: This manager is used to load plugins in runtime env agent.
class_docstr_tok: ["This","manager","is","used","to","load","plugins","in","runtime","env","agent","."]
docstr: Get the sorted plugin setup contexts, sorted by increasing priority.
  
  Returns:
      The sorted plugin setup contexts.
docstr_tok: ["Get","the","sorted","plugin","setup","contexts",",","sorted","by","increasing","priority",".","Returns",":","The","sorted","plugin","setup","contexts","."]
code: def sorted_plugin_setup_contexts(self) -> List[PluginSetupContext]:
      """Get the sorted plugin setup contexts, sorted by increasing priority.
  
      Returns:
          The sorted plugin setup contexts.
      """
      return sorted(self.plugins.values(), key=lambda x: x.priority)
  
imports: import logging
  import os
  import json
  from abc import ABC
  from typing import List, Dict, Optional, Any, Type
  from ray._private.runtime_env.context import RuntimeEnvContext
  from ray._private.runtime_env.uri_cache import URICache
  from ray._private.runtime_env.constants import RAY_RUNTIME_ENV_PLUGINS_ENV_VAR, RAY_RUNTIME_ENV_PLUGIN_DEFAULT_PRIORITY, RAY_RUNTIME_ENV_CLASS_FIELD_NAME, RAY_RUNTIME_ENV_PRIORITY_FIELD_NAME, RAY_RUNTIME_ENV_PLUGIN_MIN_PRIORITY, RAY_RUNTIME_ENV_PLUGIN_MAX_PRIORITY
  from ray.util.annotations import DeveloperAPI
  from ray._private.utils import import_attr
label_desc: Use image node_id 7 for calling the RuntimeEnvPluginManager obj's underlying member method code with example usage: obj.sorted_plugin_setup_contexts() and returns: sorted