parameters: (self, policy_list)
return_statement: return self.SortPoliciesGroupsFirst(policy_list)
docstring: Preprocesses a list of policies according to a given writer's needs.
      Preprocessing steps include sorting policies and stripping unneeded
      information such as groups (for writers that ignore them).
      Subclasses are encouraged to override this method, overriding
      implementations may call one of the provided specialized implementations.
      The default behaviour is to use SortPoliciesGroupsFirst().
  
      Args:
        policy_list: A list containing the policies to sort.
  
      Returns:
        The sorted policy list.
docstring_summary: Preprocesses a list of policies according to a given writer's needs.
      Preprocessing steps include sorting policies and stripping unneeded
      information such as groups (for writers that ignore them).
      Subclasses are encouraged to override this method, overriding
      implementations may call one of the provided specialized implementations.
      The default behaviour is to use SortPoliciesGroupsFirst().
docstring_tokens: Preprocesses a list of policies according to a given writer s needs . Preprocessing steps include sorting policies and stripping unneeded information such as groups ( for writers that ignore them ) . Subclasses are encouraged to override this method overriding implementations may call one of the provided specialized implementations . The default behaviour is to use SortPoliciesGroupsFirst () .
function: def PreprocessPolicies(self, policy_list):
      '''Preprocesses a list of policies according to a given writer's needs.
      Preprocessing steps include sorting policies and stripping unneeded
      information such as groups (for writers that ignore them).
      Subclasses are encouraged to override this method, overriding
      implementations may call one of the provided specialized implementations.
      The default behaviour is to use SortPoliciesGroupsFirst().
  
      Args:
        policy_list: A list containing the policies to sort.
  
      Returns:
        The sorted policy list.
      '''
      return self.SortPoliciesGroupsFirst(policy_list)
function_tokens: def PreprocessPolicies ( self , policy_list ) : return self . SortPoliciesGroupsFirst ( policy_list )