I had a very large file to sort (2GB) from scraping an online business directory.
The problem was, there were many duplicate listings that I needed removed. I wrote
this small PERL script and found it interesting that it took 11 seconds to sort
the list compared to (10 minutes) using the sort -u command on Linux (written in C).