plone3
3.1.7

Public Member Functions  
def  group 
abstract base class to handle sorting with respect to one sort level.
Definition at line 69 of file sorting.py.
def AdvancedQuery.sorting.Sorter.group  (  self,  
seq  
) 
group *seq* (a set) generating pairs (*value*, *subseq*). All elements in *subseq* (a set) have *value* as sort value on this level. The union of all *subseq* gives *seq*. Elements not sorted on this level go into the last generated pair with 'None' as value.
Reimplemented in AdvancedQuery.sorting.IndexSorter.
Definition at line 71 of file sorting.py.
00071 00072 def group(self, seq): 00073 '''group *seq* (a set) generating pairs (*value*, *subseq*). 00074 00075 All elements in *subseq* (a set) have *value* as sort value on this level. 00076 The union of all *subseq* gives *seq*. 00077 00078 Elements not sorted on this level go into the last generated 00079 pair with 'None' as value. 00080 ''' 00081 raise NotImplementedError 00082