Handle ISO 3166-1 alpha-3 country codes; modify output file headers, timestamp format; sort article lists before processing for better readability and return output in sorted order