I've seen a YouTube video in the last couple of years that explained the true origins of the QWERTY keyboard. Originally, the keyboard was alphabetical and arranged two rows, based on a piano keyboard, the black keys went A-N left to right, and the white keys went O-Z, right to left. Then it got shortened in width and the letters got folded over (this is why at the right edge of the middle row you have HJKL and the bottom row has MN reversed as NM).