update sort algorithm for hot topics