Leveling floors and Installing windows
Level floors first, windows only after. If the window square-ness, level-ness or plumb-ness are affected by the floor leveling, then you'll have window installations that last. The other way could rack the windows into inoperability or at a minimum release any caulking seals.