Roof, windows, siding, and gutters last.
Roof is always first. If its leaking, no since doing anything else until it's fixed. Windows should be next so siding can be installed around them. You can not do the gutters until all the fascia trim is done, so they would be last.
But there may be some advantages to doing the gutters while the roof is being done.
For example I usually set up scaffolding along the eve side of a roof when doing a new roof. After that side of the roof was completed, I would wrap the fascia and install gutters if needed while the scaffolding is still set up there.
Roof is always first. If its leaking, no since doing anything else until it's fixed. Windows should be next so siding can be installed around them. You can not do the gutters until all the fascia trim is done, so they would be last.
But there may be some advantages to doing the gutters while the roof is being done.
For example I usually set up scaffolding along the eve side of a roof when doing a new roof. After that side of the roof was completed, I would wrap the fascia and install gutters if needed while the scaffolding is still set up there.