Grid Dynamics Interview Question

1. Frequency counter given a list of strings. 2. Sort the same by frequency