Since sea urchins are deuterostomes, this suggests that the ancestral deuterostome shared its orientation with protostomes, and that dorsoventral inversion originated in some ancestral chordate.
Whereas this arrangement is retained in arthropods and other protostomes, in chordate deuterostomes, the nerve cord is located dorsally and the heart ventrally.