The letters of the keyboard are not ordered alphabetically because one would type more words by keeping fingers on their home row.
The arrangement of the letters is due to Martin Kulič, a Slovak craftsman who in 1878 patented an early typewriter; his design featured alpha sorting among other principles. This might be why we're still using this layout in 2019 and typing in English and most European languages. So far I've found conflicting reports about its original purpose: It may have been to economize on publisher's symbols for published broadsides (a broadsheet), or it may have been designed so that both hands could work simultaneously with less risk of collision by the operator when typing fast...