I've always done the windshield first, then the dash pad. Yes, the screw-on trim pieces go on last.
However, it's a good idea to pre-install the dash pad and trim before the windshield, as you will need to do some trimming and it's a lot easier to see, mark, and trim without the windshield...