The program needs to be quick, efficient and use as little as a memory footprint as possible. Said program must sort an e-mail list by domain name in alphabetical order. It must be written in C for the UNIX environment.
I would put an example of how I want the output to look, but RAC refuses to let me put anything even *NEARLY* related to an e-mail address in this body.
The lists fed into the program will be of variable size, ranging from thousands of addresses to millions, so it must be able to handle the varying amount.
The code must be clean, easily integrated into other code and well commented as I will use the sorting functions in another program (I will not use this program alone).
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
Must run on Linux and *BSD.