#NEWLINE# def order_by( self , field , order = None , collection = None ) : #NEWLINE# #INDENT# '\n        ' #NEWLINE# if ( order is None ) : #NEWLINE# #INDENT# order = self . SORTING_ASC #NEWLINE# #UNINDENT# self . sorting . append ( { #NEWLINE# #INDENT# 'field' : field , #NEWLINE# 'order' : order , #NEWLINE# 'collection' : collection , #NEWLINE# #UNINDENT# } )