class_docstr: A `DataLoader` that goes throught the item in the order given by `sort_func`
class_docstr_tok: ["A","`","DataLoader","`","that","goes","throught","the","item","in","the","order","given","by","`","sort_func","`"]
code: def new(self, dataset=None, **kwargs):
      if "val_res" in kwargs and kwargs["val_res"] is not None:
          res = kwargs["val_res"]
      else:
          res = self.res if dataset is None else None
      return super().new(dataset=dataset, res=res, **kwargs)
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
label_desc: Use image node_id 4 for calling the SortedDL obj's underlying member method code with example usage: obj.new(dataset) and returns: super