HKDan, the list was rated according to the Gini coefficient which meaures the income inequality between a certain percentage of a country's richest people and its poorest people. Here's more on it:
Gini coefficient - Wikipedia, the free encyclopedia
It is a very important indicator of economic inequality and both the UN as well as the CIA compile their own lists based on it.