The Lord created all things spiritually before he created them physically (Moses 3: 5).
The Lord made every plant before it was in the earth, Gen. 2: 4-6 (Abr. 5: 5). By the power of my Spirit created I all things-first spiritual, secondly temporal, D&C 29: 31-32. That which is temporal is in the likeness of that which is spiritual, D&C 77: 2. I made the world and men before they were in the flesh, Moses 6: 51.