in reply to List::Ranking

Why not make this a tie'd array, with the appropriate sorting done. Then, each element of the array would, instead, be a bucket. So, if you wanted all the things that were in the 3rd ranking, you could get them appropriately.

I guess I don't see why you stopped at just what you have there. Instead, I would have gone further and allowed more manipulation.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.