Return a sorted list which length of top.
Provide a sort function to support other functions in class Distribution.
A sorted list