(self, key=None, reverse=False)
Args:
          key (callable): to be passed to :py:obj:`sorted`
          reverse (bool): to be passed to :py:obj:`sorted`
Args:
          key (callable): to be passed to :py:obj:`sorted`
          reverse (bool): to be passed to :py:obj:`sorted`
Args : key ( callable ) : to be passed to : py : obj : sorted reverse ( bool ) : to be passed to : py : obj : sorted
def __init__(self, key=None, reverse=False):
        """
        Args:
          key (callable): to be passed to :py:obj:`sorted`
          reverse (bool): to be passed to :py:obj:`sorted`
        """
        super().__init__()
        self.sorted_kwargs = {}
        if key is not None:
            self.sorted_kwargs["key"] = key
        if reverse:
            self.sorted_kwargs["reverse"] = reverse
def __init__ ( self , key = None , reverse = False ) : super ( ) . __init__ ( ) self . sorted_kwargs = { } if key is not None : self . sorted_kwargs [ "key" ] = key if reverse : self . sorted_kwargs [ "reverse" ] = reverse