The Greek alphabet originates from the Phoenician alphabet and today has 24 letters and is written from left to right.
The Phoenician alphabet in contrast had 22 consonants and was written from right to left. The Phoenician script is the oldest letter based written language in Europe and was used from the 11th century before Christ. It is the predecessor for not only the Greek alphabet, but also the Aramaic Hebrew and Arabic alphabets. It is therefore the origin of almost all modern alphabet based scripts.
The Greek alphabet has an important difference to the Phoenician alphabet, in that it also has vowels and not just consonants like Phoenician. This also distinguishes Greek from Hebrew and Arabic. To this day Hebrew and Arabic are so called consonant languages, by which vowels are not always present in the script.