code: def _sort_space(hps):
      space = hps.get_config()["space"]
      return sorted(space, key=lambda hp: hp["config"]["name"])
  
imports: import pytest
  from keras_tuner import protos
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 15 for calling a global function with example usage: _sort_space(hps) and returns: sorted