The symbols they used were called hieroglyphs ... so the Rosetta stone was the key to the hieroglyphic code. Hieroglyphs could be written vertically, horizontally, left to right, or right ...
The accepted story is that the first alphabet developed in the Sinai Peninsula around 1,900 B.C., an innovation on Egyptian hieroglyphics, but a discovery in a tomb in Syria challenges that narrative.