code: def order_func(times, data):
      this_data = data[:, (times > 0.0) & (times < 0.350)]
      this_data /= np.sqrt(np.sum(this_data**2, axis=1))[
          :, np.newaxis
      ]
      return np.argsort(
          spectral_embedding(
              rbf_kernel(this_data, gamma=1.0),
              n_components=1,
              random_state=0,
          ).ravel()
      )
  
imports: import matplotlib.pyplot
  import numpy
  import mne
  from mne import io
  from mne.datasets import sample
  from sklearn.manifold import spectral_embedding
  from sklearn.metrics.pairwise import rbf_kernel
label_desc: Use image node_id 1 for calling a global function with example usage: order_func(times, data) and returns: np