Genius interview question

Mass data parsing and sorting assignment