"To God, Ayn Rand, and my mother."
The first example "to my mother, Ayn Rand, and God" could be reasonably and correctly interpreted two ways
1) this book is dedicated to two people, my mother (who is Ayn Rand), and God.
2) this book is dedicated to three people, my mother (who is not Ayn Rand), Ayn Rand, and God.
"To God, Ayn Rand, and my mother" Makes it clear the second interpretation is intended. You can't mistake my Ayn Rand for my mother.
"To God, Ayn Rand, and my mother."