It is not a matter of which precedes which! It is the definition of sustainable development, in which the development is the driving force while the enviro-econo-socio pillars are not compromised!
This depend on the way we are looking the issue under given condition. I feel, once we are struggling for a quality life, then for developing and under developing countries should put their stay on development first. Yes the development should not disturb the environment much. Ultimately the human matters.
The Economy of a country can easily be developed without having to deteriorate the environment severely. There are many cities as examples. Still now when we all know what future environmental threats are waiting, nations who are causing highest emission in the world do not bother at all.
it's too simple to know the answer, we should think both at the same time. nothing come first or we do not have choice to thing any of should come first. we need both as a same priority regarding present situation of global world.