In the first creation story, Genesis 1, plants are created on the third day.
11 Then God said, “Let the land produce vegetation: seed-bearing plants and trees on the land that bear fruit with seed in it, according to their various kinds.” And it was so. 12 The land produced vegetation: plants bearing seed according to their kinds and trees bearing fruit with seed in it according to their kinds. And God saw that it was good. 13 And there was evening, and there was morning—the third day.
Genesis 1:11-13 NIV
Still in the first creation story, God creates fish, sea creatures and birds on the fifth day.
20 And God said, “Let the water teem with living creatures, and let birds fly above the earth across the vault of the sky.” 21 So God created the great creatures of the sea and every living thing with which the water teems and that moves about in it, according to their kinds, and every winged bird according to its kind. And God saw that it was good. 22 God blessed them and said, “Be fruitful and increase in number and fill the water in the seas, and let the birds increase on the earth.” 23 And there was evening, and there was morning—the fifth day.
Genesis 1: 20-23 NIV
Then God creates land animals and an undetermined number of people on the sixth day.
24 And God said, “Let the land produce living creatures according to their kinds: the livestock, the creatures that move along the ground, and the wild animals, each according to its kind.”
And it was so. 25 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.
26 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.”
27 So God created mankind in his own image,
in the image of God he created them;
male and female he created them.
28 God blessed them and said to them, “Be fruitful and increase in number; fill the earth and subdue it. Rule over the fish in the sea and the birds in the sky and over every living creature that moves on the ground.”
Genesis 1: 24-28 NIV
The second creation account starts in Genesis 2:4.
4 This is the account of the heavens and the earth when they were created, when the Lord God made the earth and the heavens.
Genesis 2:4 NIV
We are specifically told that there is "no shrub" and "no plant" when Adam, the first man, is created.
5 Now no shrub had yet appeared on the earth and no plant had yet sprung up, for the Lord God had not sent rain on the earth and there was no one to work the ground, 6 but streams came up from the earth and watered the whole surface of the ground. 7 Then the Lord God formed a man from the dust of the ground and breathed into his nostrils the breath of life, and the man became a living being.
Genesis 2:5-7 NIV
The second creation story gives the impression that plants are made to make Adam comfortable. The tenses here are confusing and I'll say more about that later.
8 Now the Lord God had planted a garden in the east, in Eden; and there he put the man he had formed. 9 The Lord God made all kinds of trees grow out of the ground—trees that were pleasing to the eye and good for food. In the middle of the garden were the tree of life and the tree of the knowledge of good and evil.
Genesis 2:8-9 NIV
In the first creation story, birds (and fish) are created before land animals while in the second creation story, land animals and birds are created at the same time. In the first story, plants and animals are created before people while in the second, Adam is created before plants and animals. Again, the creation of animals is related to Adam's comfort, since the text distinguishes between "livestock" and "wild animals." The creation of land animals and birds is closely connected with their presentation to Adam.
19 Now the Lord God had 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. 20 So the man gave names to all the livestock, the birds in the sky and all the wild animals.
Genesis 2:19-20 NIV
God announces the intention to create Eve, to create the first woman, in verse 18. He does not actually do so until verses 21-23, after the creation and presentation of birds, livestock and wild animals.
18 The Lord God said, “It is not good for the man to be alone. I will make a helper suitable for him.”
...
21 So the Lord God caused the man to fall into a deep sleep; and while he was sleeping, he took one of the man’s ribs and then closed up the place with flesh. 22 Then the Lord God made a woman from the rib he had taken out of the man, and he brought her to the man.
23 The man said,
“This is now bone of my bones
and flesh of my flesh;
she shall be called ‘woman,’
for she was taken out of man.”
24 That is why a man leaves his father and mother and is united to his wife, and they become one flesh.
25 Adam and his wife were both naked, and they felt no shame.
Genesis 2:18-25 NIV
In summary, in the first creation story, God creates plants, then animals, then people. In the second creation story, God first creates the man, Adam, then plants, then animals, and then the woman, Eve. Each of these stories has its purpose but as literal story they can't be reconciled.