nodes: 0, module; 1, function_definition; 2, function_name:get_params; 3, parameters; 4, block; 5, identifier:self; 6, identifier:ctx; 7, expression_statement; 8, expression_statement; 9, return_statement; 10, comment:"""Sort order of options before displaying.
  
          :param click.core.Context ctx: Click context.
  
          :return: super() return value.
          """; 11, call; 12, call; 13, attribute; 14, argument_list; 15, attribute; 16, argument_list; 17, attribute; 18, identifier:sort; 19, keyword_argument; 20, call; 21, identifier:get_params; 22, identifier:ctx; 23, identifier:self; 24, identifier:params; 25, identifier:key; 26, attribute; 27, identifier:super; 28, argument_list; 29, identifier:self; 30, identifier:custom_sort; 31, identifier:ClickGroup; 32, identifier:self
code: def get_params(self, ctx):
          """Sort order of options before displaying.
  
          :param click.core.Context ctx: Click context.
  
          :return: super() return value.
          """
          self.params.sort(key=self.custom_sort)
          return super(ClickGroup, self).get_params(ctx)