Change oreder in which the sheets are created so the first sheet is always the main sheet [fixes #76729750]