nodes: 0, module; 1, function_definition; 2, function_name:add_arguments; 3, parameters; 4, block; 5, identifier:self; 6, identifier:actions; 7, expression_statement; 8, expression_statement; 9, expression_statement; 10, comment:"""
          Sort the flags alphabetically
          """; 11, assignment; 12, call; 13, identifier:actions; 14, call; 15, attribute; 16, argument_list; 17, identifier:sorted; 18, argument_list; 19, call; 20, identifier:add_arguments; 21, identifier:actions; 22, identifier:actions; 23, keyword_argument; 24, identifier:super; 25, argument_list; 26, identifier:key; 27, call; 28, identifier:SortedHelpFormatter; 29, identifier:self; 30, attribute; 31, argument_list; 32, identifier:operator; 33, identifier:attrgetter; 34, string; 35, string_content:option_strings
code: def add_arguments(self, actions):
          """
          Sort the flags alphabetically
          """
          actions = sorted(
              actions, key=operator.attrgetter('option_strings'))
          super(SortedHelpFormatter, self).add_arguments(actions)