QWERTY was created and placed in such a way that frequent alphabets had a certain distance which slowed down the typists.
Early typewriting did in fact have the keys in alphabetical order but it soon appeared with a problem. Typewriters were typing too fast which created the keys to stack on each other and later jam the entire machine and causing it to not work.
This meant that people had to type at a speed which the machine could handle; giving rise to the ‘QWERTY’ keyboard we find today.