Make the simple algorithm for sorting the Histogram, and gave a way to catch the topSell