In Genesis 2:18-19, it is mentioned that God created man first and then the animals so the man can't be alone and he can name them.
The LORD God said, "It is not good for the man to be alone. I will make a helper suitable for him." Now the LORD God formed out of the ground all the wild animals and all the birds in the sky. He brought them to the man to see what he would name them; and whatever the man called each living creature, that was its name.
But in Genesis 1:25-26, it is mentioned that God created animals and THEN man.
God made the wild animals according to their kinds, the livestock according to their kinds, and all the creatures that move along the ground according to their kinds. And God saw that it was good. THEN God said, "Let us make mankind in our image, in our likeness, so that they may rule over the fish in the sea and the birds in the sky, over the livestock and all the wild animals, and over all the creatures that move along the ground." (emphasis added)
So according to the Catholic Church, were humans created before or after animals?