I want to print the file content based on sorting the 3rd column of sourcefile.
sourcefile.txt:
Manav Kumaom Fre
shailesh himadri aif
manisha Kailash mac
Ravi Jwala blu
Prakash Ojha Zan
Mahi Aulakh yep
I want to print the file content sorted on the basis of 3rd column in a new file:
Required output:
shailesh himadri aif
Ravi Jwala blu
Manav Kumaom Fre
manisha Kailash mac
Mahi Aulakh yep
Prakash Ojha Zan