I always found that weird too xD But the explanation I heard is that Mew was originally not meant to be a pokémon possible to find in the games. Just a mirage, a legend leading up to Mewtwo. In a late stage before the release, they added in Mew anyways and thought up an event for it to be distributed. In the pokédex, it became #151 because it was added last. Maybe it was simpler that way.If Mewtwo is a clone of Mew, how is it that Mewtwo comes before Mew in the Pokédex? MIND BLOWN.
Wikipedia said:Mew's development was not overseen by Ken Sugimori, but by Game Freak programmer Shigeki Morimoto. Morimoto programmed Mew into the game secretly, as a prank amongst the staff just prior to its release in Japan, intending it to be a Pokémon only Game Freak staff members would know about and be able to obtain.[1] Mew was added at the very end of the development of Pokémon Red and Blue after the removal of debug features, freeing up just enough space to add the character despite being told not to alter the game any further at this point. Though not intended by the developers to be obtainable, due to a glitch, players were able to encounter it.
While all these explanations are valid, would it really be that hard to swap two Pokémon's positions? Just so I don't keep staring at my Pokédex, slightly bothered. I guess it's not that important, it just makes limited sense.