#NEWLINE# def are_results_in_order( self , results ) : #NEWLINE# #INDENT# self . assertGreater ( len ( results ) , 0 ) #NEWLINE# sorted_res = sorted ( results , key = ( lambda key : key [ 0 ] ) ) #NEWLINE# self . assertEqual ( results , sorted_res )