old_contents: from .api import distribution, Distribution, PackageNotFoundError  # noqa: F401
  from .api import metadata, entry_points, resolve, version, read_text, files
  
  # Import for installation side-effects.
  from . import _hooks  # noqa: F401
  
  
  __all__ = [
      'metadata',
      'entry_points',
      'resolve',
      'version',
      'read_text',
      'files',
      ]
  
  
  __version__ = version(__name__)
  
new_contents: from .api import distribution, Distribution, PackageNotFoundError  # noqa: F401
  from .api import metadata, entry_points, resolve, version, read_text, files
  
  # Import for installation side-effects.
  from . import _hooks  # noqa: F401
  
  
  __all__ = [
      'entry_points',
      'files',
      'metadata',
      'read_text',
      'resolve',
      'version',
      ]
  
  
  __version__ = version(__name__)
  
subject: Sort lines in __all__