code: def test_sorted_peaks(self):
      image = np.zeros((5, 5), dtype=np.uint8)
      image[1, 1] = 20
      image[3, 3] = 10
      peaks = peak.peak_local_max(image, min_distance=1)
      assert peaks.tolist() == [[1, 1], [3, 3]]
  
      image = np.zeros((3, 10))
      image[1, (1, 3, 5, 7)] = (1, 2, 3, 4)
      peaks = peak.peak_local_max(image, min_distance=1)
      assert peaks.tolist() == [[1, 7], [1, 5], [1, 3], [1, 1]]
  
imports: import itertools
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_equal
  from scipy import ndimage
  from skimage._shared._warnings import expected_warnings
  from skimage.feature import peak
label_desc: Use image node_id 7 for calling the TestPeakLocalMax obj's underlying member method code with example usage: obj.test_sorted_peaks() without return types