def print_tamil_words(self):
        # sort words by descending order of occurence
        print((len(self.frequency))%u"# unique words = %d")
        for l in sorted(self.frequency.items(), key=operator.itemgetter(1)):
            print( l[0],':',l[1])        
        print(u"#"*80)
        print(u"# sorted in Tamil order")
        for l in sorted(self.frequency.keys(), key=cmp_to_key(tamil.utf8.compare_words_lexicographic)):
            print( l,':',self.frequency[l])
        return

# driver
dataset/ETHPy150Open Ezhil-Language-Foundation/open-tamil/examples/solpattiyal.py/WordFrequency.print_tamil_words/swapped operands of `%`