Back then, during the days of the good ol' typewriter, having the 'ABC' keyboard wasn't that efficient. That's why, some guy rearranged the keys so that the most common combinations and pairs of letters would be accessible, and thus, the QWERTY keyboard came out. That standard is still used today in most keyboards, but each country has its own layout according to the most common pairs of letters they have. AZERTY is an Arabic keyboard layout.