Make the loading order of the style sheets configurable (see #6937)