Well if you do it in the wrong order,the DIY police will come and take you away...LOL
Joking aside...The decision is yours. The pro of painting 1st is you don't have to worry about slopping up your brand new floor. It is still a good idea to cover up with a drop but you don't have to be as careful.
Thanks for stopping by
Tips for Painting