add Score sorter and print topic distribution function