Shouldn't the word be "ordnance?"
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.
This fact is ever more important in the age of AI.
Ordnance now means of military, guns and armaments (cf Ordnance Survey)
Ordinance means an order or religious rite (and apparently bylaw in the US)