Sofia is given a D, or an average grade in the city urban environment ranking (the highest being A and the lowest F), and is in 20 th position out of 42 European cities, ahead of Madrid, London, Rome and Vienna. The “Thanks for sharing” report..