Cloudera Interview Question

Write a shell script to parse a file and find some words and sort it