#NEWLINE# @ staticmethod #NEWLINE# def sort_migrations_list( migrations , reverse = False ) : #NEWLINE# #INDENT# return sorted ( migrations , cmp = ( lambda x , y : x . compare_to ( y ) ) , reverse = reverse )