React version: `18.3.0-canary-9377e1010-20230712`

## Steps To Reproduce

1. Add  `<meta name="viewport" content="width=device-width, initial-scale=1" />` inside of `<head>`
2. Call `ReactDOM.preload('/img.png', { as: 'image' })` 

## The current behavior

The `<link>` generated from the preload is before the `<meta>` for the viewport.

## The expected behavior

The `<link>` should come after the `<meta>` for the viewport.

## Related

- https://github.com/vercel/next.js/issues/53574

cc @gnoff 
typeof options === 'object' &&
    options !== null &&
    typeof options.as === 'string' &&
    options.as
  ) {
    const as = options.as;
    let key: string;
    if (as === 'image') {
      
      
      
      const {imageSrcSet, imageSizes} = options;
      let uniquePart = '';
      if (typeof imageSrcSet === 'string' && imageSrcSet !== '') {
        uniquePart += '[' + imageSrcSet + ']';
        if (typeof imageSizes === 'string') {
          uniquePart += '[' + imageSizes + ']';
        }
      } else {
        uniquePart += '[][]' + href;
      }
      key = getResourceKey(as, uniquePart);
    } else {
      key = getResourceKey(as, href);
    }
    let resource = resources.preloadsMap.get(key);
    if (__DEV__) {
      const devResource = getAsResourceDEV(resource);
      if (devResource) {
        switch (devResource.__provenance) {