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

def setReorderFunc(self, func, name=None):
        """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
        """
        self.reorder = func
        self.reorderName = name