Sort Command #5, is a HackerRank problem from Text Processing subdomain. In this post we will see how we can solve this challenge in Sh

Problem Description

You are given a file of text,which contains temperature information about American cities, in TSV (tab- separated) format. The first column is the name of the city and the next four columns are the average temperature in the months of Jan, Feb, March and April (see the sample input). Rearrange the r ....

You can find the full details of the problem Sort Command #5 at HackerRank

Solution: Please check the snippet for the solution.

This solution originally posted at: Github by @srgnk