Kratimoyporroon has asked for the wisdom of the Perl Monks concerning the following question:

Basically, I have a bunch of data I've gathered from an online forum: name, time, post length, and some other random statistics. I want to be able to sort this data by several different fields. Say, first by time and then by name. What data structure do you recommend, and are there any build in methods to sort this stuff? Could you give a brief example? Thanks.