Pergunta de entrevista da empresa Symantec

Open file and read the contents and sort it.