sortedClassCount = sorted(classCount.items(), key=lambda d:d[1], reverse=True)
对classCount这一字典里的值进行排序