code: def test_base_ordering():
      base = [2, 4, 5]
      degree = 7
      assert _base_ordering(base, degree) == [3, 4, 0, 5, 1, 2, 6]
  
file_path: sympy/sympy/combinatorics/tests/test_util.py
imports: from sympy.combinatorics.named_groups import SymmetricGroup, DihedralGroup, AlternatingGroup
  from sympy.combinatorics.permutations import Permutation
  from sympy.combinatorics.util import _check_cycles_alt_sym, _strip, _distribute_gens_by_base, _strong_gens_from_distr, _orbits_transversals_from_bsgs, _handle_precomputed_bsgs, _base_ordering, _remove_gens
  from sympy.combinatorics.testutil import _verify_bsgs
label_desc: Use image node_id 7 for calling a global function with example usage: test_base_ordering() without return types