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

Problem Description

In this challenge, we practice using the sort command to sort input in text or TSV formats. You are given a text file where each line contains a number. The numbers may be either an integer or have decimal places. There will be no extra characters other than the number or the newline at the end of e ....

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

Solution: Please check the snippet for the solution.

This solution originally posted at: Github by @srgnk