part g tfidf docs sorted