do not sort projections alphabetically (#23649)
do not sort projections alphabetically (#23649)

* do not sort projections alphabetically
* add assertion for ordered dict
LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack