def Print ( self ) : for val , prob in sorted ( self . d . iteritems ( ) ) : print ( val , prob )
display dictionary in order in python
Prints the values and freqs / probs in ascending order .
def Print(self):
        """Prints the values and freqs/probs in ascending order."""
        for val, prob in sorted(self.d.iteritems()):
            print(val, prob)