My wife and i all ways seem to do the wall first. Its the bigger of the project and we do the patching and what not first and then paint the wall. We can all ways recover alittle spot here and there on the trim. and if we are crunched for time for the room we can all ways go back and do sections of the trim each day or when ever our schedual alows us to do so. Thats my thoughts on this. good luck and enjoy.