implemented bigrams sorting feature