added sorting ngram maker