I have been taking a good look at this apparent contradiction for some time, I am not a YEC but have noticed something profound about Genesis 2, let me explain before everybody gets all worked up though.
Upon reading many different translations on Genesis 2 I noticed that some include order modifiers and some do not. What I mean by order modifier are words like "now", "then", "first" and so on. Let me try to explain the importance in a way that will show the importance of the use of those words.
In my scenario I will give a simple recipe, salsa to be exact, and give it using two differing methods to illustrate my point. (I like my salsa hot, so my recipe will be for hot, ultra hot, salsa)
First - dice 6 ripe tomatoes (approximately 1 cup)
Second - dice 1/2 yellow or white onion (approximately 1/3 cup)
Third - dice 6 jalapenos (less if you cannot stand the heat)
Fourth - combine all diced ingredients into a bowl
Fifth - add to the diced ingredients the following spices:
1/4 tsp garlic
1/4 tsp salt
1/4 tsp ground black pepper
1 tbsp cilantro
Now mix all ingredients well and place in refrigerator
Now for another rendition of the same recipe:
I took 1/4 tsp garlic, 1/4 tsp salt, 1/4 tsp ground black pepper, 1 tbsp cilantro and put that in a bowl
I diced 1/2 yellow or white onion and I also diced 6 ripe tomatoes as well as 6 jalapenos
Before I put the salsa into the refrigerator I mixed everything well
The two recipes are identical, will yield the same salsa in the end, yet appear to be different, not in the ingredients, but in how they are processed. However, the second recipe is delivered in a different manner than the first because its rendition has a different purpose than the first.
Now I ask those who read this thread to go do some investigation and read the account of Creation (Genesis 1 and 2) in a variety of translations of the Bible and make note of the order modifiers, or lack thereof, in each translation.
Some of the biggest problems with Biblical interpretation is that we either try to impart into the scriptures our own desires or knowledge, or we have a poor translation. I have been working on a method of Biblical interpretation that is an absolute literal interpretation, but this is definitely not the thread for talking about that, I will however say this, when you read ONLY what is written, not what you think is inferred by what is written, you will, at least I hope, gain a greater understanding and appreciation for the scriptures.