It goes something like this.
feasibility study , city
draw up plans.
Identify problems, gas water sewer, overhead or under ground power lines.
Dig hole to solid undisturbed soil, usually match existing five feet clearence on all sides.
size the footing to match soil condition usually matches existing, may require city or geotech inspection
Locate pins for the building. may require survey co.
Prep the footing a wall forms complete with rebar, may require city geo tech and survey inspections
Install concrete, hold down bolts anything required for earthquakes
remove forms, water proof foundation, install perimeter drain, city inspection before backfilling
frame the building.
plumber locates vents for roofer, hvac locates vent for fans for roofer
Have roofing installed
install windows and exterior doors, sheeting city inspection before house wrap goes up
Siding can go up while others work inside.
Rough plumbing. inspected
interior wood work
floors and tile work
Things may be a little different as per location, hope this helps.