#NEWLINE# def __iter__( self ) : #NEWLINE# #INDENT# results = list ( self . source ) #NEWLINE# results . sort ( key = ( lambda row : row [ self . order_by ] ) , reverse = self . descending ) #NEWLINE# for r in results : #NEWLINE# #INDENT# ( yield r )