I'm not sure I totally understand your question but here are my thoughts that might get you started.
Using RANK you can rank order the countries by the values in a specified column. You can make your quintiles from those rankings. Of course, 177/5 is not a whole number so your quintiles won't be exact quintiles. If you have groups of 35,35,35,36,36 (=177 total),
Ranks 1-35 are quintile 1
Ranks 36-70 are quintile 2
Ranks 71-105 are quintile 3
Ranks 106-141 are quintile 4
Ranks 142-177 are quintile 5
RANK has one issue, though. If two numbers are equal, they are given the same rank. You may not have that problem with your numbers and it may not even matter if you do (maybe it isn't that important for your quintiles to be that exact) or maybe you want equal values to be ranked the same. But, if you care, you can get around that by adding a small amount to each value that is based on the row number. So instead of using RANK on the values in column B you would create another column that is =B+ROW()/1000 (or some other formula that you can be sure won't affect the results incorrectly) and rank that column instead.
You can sort by the rank or you can have formulas that turn the ranks into quintiles then sort by that column. A sample formula might be
=IF(Z>141,5,IF(Z>105,4,IF(Z>70,3,IF(Z>35,2,1)))) where Z is the column of ranks.
Or you could use one of the LOOKUP functions to create separate tables for each of the quintiles. That takes further explanation.
I hope some of this was helpful and I wasn't too off track.