code: def test_reverse(sphere):
      multi = MultiBlock({f"{i}": sphere for i in range(3)})
      multi.append(pv.Cube(), "cube")
      multi.reverse()
      assert multi[0] == pv.Cube()
      assert np.array_equal(multi.keys(), ["cube", "2", "1", "0"])
  
imports: import pathlib
  import platform
  import weakref
  import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista import ImageData, MultiBlock, PolyData, RectilinearGrid, StructuredGrid, examples
label_desc: Use image node_id 12 for calling a global function with example usage: test_reverse(sphere) without return types