Answer:
We don't truly.
Step-by-step explanation:
What we do know is that they appeared around the same time on Earth:
Moles were discovered 54.8 million years ago
Rodents were discovered 54 million years ago.
If you want to compare it number wise, then moles came first.