According to The Free Dictionary, "ordnance" is a syncopated version of "ordinance".
https://www.thefreedictionary.com/ordnance
Also: https://www.etymonline.com/word/ordnance
"Ordnance" seems to be the more conventional spelling for this meaning, but I'm not sure that makes it uniquely correct. Linguistics isn't an exact science.