You really understand your own scriptures you read.
Between Genesis 1:1 and the 1st half of verse 2:4, which is the 6-day of creation, this is just creation myth, which have nothing to do with Adam and Eve or the Garden of Eden.
You clearly know the order of this myth, because it spelled out what was created when. And animals that lived on land were created (1:24-25) before man and woman were first created (1:26-27). Man and woman were the last things he created (1:26-31); nothing here say that these humans were Adam and Eve.
From the second half of verse 2:4 to the end of this chapter (2:24), is completely different creation myth.
In this 2nd myth, there were no plants and no animals when the earth and sky were created:
Note what I have highlighted in red: "no plants" and "no herbs".
In the next verse (2:7), god created man from dust:
Plants weren't created (compare 2:5 and 2:8-9) until he created man (Adam) first. God didn't create plants until after man became alive in 2:7:
And then, he only created land animals and birds (2:19) after he created man, first (2:7) and then plants, second (2:8-9):
So here in Genesis 2, this version say
- man (2:7) was created first
- ...before plants (2:8-9)
- ...and land animals and birds (2:19).
- And woman or Eve was created last, of course.
But in Genesis 1, the order of creation were
- plants (1:11-12), first, on the 3rd day,
- ...follow by birds and sea life (1:20-22) on the 5th day,
- ...and on the 6th day, land animals (1:24-25) were created...
- ...before man and woman (1:26-27).
That's 2 different myths with 2 different orders of what were created when.