A study by U.S. News & World Report has ranked Canada third on a list of the top countries with social purpose.