The ordering of DNA is not the same thing as the ordering a quartz crystal.
Their ordering is based on the same chemical principles.
No they are not”not their ordering. Quartz crystals have no codes that specific structure.
But they are based on the same chemical principles like every other chemical that exists. There isn't anything about DNA that makes it excluded from chemical principles.
And quartz crystals have no "codes" that specify structure because WE haven't defined the codes as such. The only thing that makes DNA different is that we've labeled and defined the "code". But that is something that we have added on, it isn't intrinsic to the property of DNA like you seem to think it is.