Hello, I am trying to figure out how to sort the characteristic frequency of each letter in the table for beker and piper. I currently only have the code that will output the beker and piper table in order from the alphabet but I was wondering if there is a way to sort them from least to greatest based on their frequency?
Any information helps and here is the code I have so far
N = AlphabeticStrings()
table = N.characteristic_frequency(table_name="beker_piper")
sorted(table.items())