code: def test_asset_spec_sort_versions(version_list, result):
      spec = AssetSpec(name="name", versioning="major_minor")
      assert spec.sort_versions(version_list) == result
  
imports: import os
  import pytest
  import tests
  from modelkit.assets import errors
  from modelkit.assets.settings import AssetSpec
  from modelkit.assets.versioning.major_minor import InvalidMajorVersionError, MajorMinorAssetsVersioningSystem, MajorVersionDoesNotExistError
label_desc: Use image node_id 11 for calling a global function with example usage: test_asset_spec_sort_versions(version_list, result) without return types