When I still was apt at C programming (lie 15 years ago) I would have made a sorting program in C. Now, I cant access that data from work (oh no, I'm using my coffe brake to post stuff on forums) but excel spread sheets got a pretty good sorting support if it fits.