switched back to old mainand added an additional sort on items so that equally ranked tcsorted terms are ordered alphabetically
switched back to old mainand added an additional sort on items so that equally ranked tcsorted terms are ordered alphabetically

tgbugs/heatmaps,CheerfulTeapot/heatmaps,CheerfulTeapot/heatmaps,tgbugs/heatmaps