TermStatsQueue q = highFreqTermResult.getTermStatsQueue();
List<CrescentTermStats> crescentTermStatsList = new ArrayList<CrescentTermStats>();
while(q.size() > 0) {
CrescentTermStats stats = q.pop();
crescentTermStatsList.add(stats);
}
Collections.sort(crescentTermStatsList, new Comparator<CrescentTermStats>() {