It's one of my favourite language changes.
The British adopted the Spanish word for orange.
The Spanish word for that fruit is 'naranja', pronounced with a throaty sound for the j, almost naranha.
So the English called it 'a narange' because that's how they read the word.
And the n shifted from the noun to the indefintie article.
It's so logical! And it's such a reasonable slip of the tongue. It's like 6th being pronounced 'sikth'.