code: def setReorderFunc(self, func, name=None):
          
          self.reorder = func
          self.reorderName = name
docs: Sets the function that reorders the expanded signals of this stimulus
  
          :param func: a function which takes the template doc as an argument
          :type func: callable
          :param name: a name to assign the function (for documentation purposes)
          :type name: str