code: def get_sorted_neuron_indices_from_explanations(
      explanations_path: str, layer: Union[str, int]
  ) -> list[int]:
      """Return the indices of all neurons in this layer, in ascending order."""
      layer_dir = bf.join(explanations_path, str(layer))
      return sorted(
          [
              int(f.split(".")[0])
              for f in bf.listdir(layer_dir)
              if f.split(".")[0].isnumeric()
          ]
      )
  
imports: from __future__ import annotations
  import json
  from dataclasses import dataclass
  from enum import Enum
  from typing import List, Optional, Union
  import blobfile
  import boostedblob
  from neuron_explainer.activations.activations import NeuronId
  from neuron_explainer.fast_dataclasses import FastDataclass, loads, register_dataclass
label_desc: Use image node_id 3 for calling a global function with example usage: get_sorted_neuron_indices_from_explanations(explanations_path, layer) and returns: sorted