code: def global_sort_pool(x, index, k):
      module = SortAggregation(k=k)
      return module(x, index=index)
  
imports: from torch_geometric.deprecation import deprecated
  from torch_geometric.nn import global_add_pool, global_max_pool, global_mean_pool
  from torch_geometric.nn.aggr import AttentionalAggregation, SortAggregation
label_desc: Use image node_id 1 for calling a global function with example usage: global_sort_pool(x, index, k) and returns: module