First a daughter, then a son,
The world is well begun.
First a son, then a daughter,
Trouble follows after.
Maine and Massachusetts.

First a daughter, then a son,
The world is well begun.
First a son, then a daughter,
Trouble follows after.
Source: Current Superstitions (1896), entry 45.
Fanny D. Bergen, editor.
Modern normalized navigation; the historical attribution above remains unchanged.