Sort a flat file of dotted quad IP addresses in C.