Ordering site params by source order

Your conversion was not only from YAML to TOML, but in the process you also converted an array into a map.

Arrays are order guaranteed where maps are not. There is no such concept as “source order” with maps because there is no order at all.

If you want to retain the order in the source you could either create an array in TOML or add an order field to the map and order by it within your template.