class_docstr: Possibly filtered, possibly sorted DynamicItemDataset.
  
  Shares the static data (reference).
  Has its own dynamic_items and output_keys (deepcopy).
code: def __init__(self, from_dataset, data_ids):
      self.data = from_dataset.data
      self.data_ids = data_ids
      self.pipeline = copy.deepcopy(from_dataset.pipeline)
  
imports: import copy
  import contextlib
  from types import MethodType
  from torch.utils.data import Dataset
  from speechbrain.utils.data_pipeline import DataPipeline
  from speechbrain.dataio.dataio import load_data_json, load_data_csv
  from speechbrain.utils.data_utils import batch_shuffle
  import logging
  import math
label_desc: Use image node_id 1 to create a new FilteredSortedDynamicItemDataset object from inherited base classes: DynamicItemDataset with example: obj = FilteredSortedDynamicItemDataset(from_dataset, data_ids)