====== CountDistribution ====== Return a sorted list which length of top. ====== Description ====== Provide a sort function to support other functions in class Distribution. ====== Parameter ====== - list: - top: ====== Return ====== A sorted list