Assuming that your data is formatted exactly as stated by you (this goes especially for the 3rd column, numbers all left aligned) and that this data is provided by cat
ing a file, you could try this command:
*input generating command* | sort -nrk3 | awk '{print $1 " " $2}' > output_file
In case your data is provided by some other command or source, change cat
to that other command. For more information see this post which I basically just tailored to your needs.
Edit:
I changed the above command slighty as there's no need to tell sort
to start from column 3 character 1, since sort always treats a blank as a separator. One can of course give the input file straight to sort
as well, as a user pointed out. If also the headers are part of your data, change the above command to:
*input generating command* | sort -nrk3 | awk '{if (NR>1) print $1 " " $2}' > output_file