Have they dried enough yet? If so the dirt might be the problem. I'd use a small excavator with a thumb to pick up the wood and restack adjacent to the existing pile. Shake/ roll any stumps that are full of dirt. You can do they same with a front end loader and grapple but an excavator will be better and quicker. Use plenty of diesel.