I just took a moment and did the math, and it's pretty interesting.
First of all, most smiths aren't going to be able to buy bulk corn at commodity pricing. I did some quick Google-Fu and found a bulk feed supplier selling whole corn for $205/ton. Tractor Supply Company also carries 50 lb sacks for about $6.80.
I just paid $12 each for three 50 lb bags of bituminous coal at Yoder's Blacksmith Supply. It's hard to get consistent numbers for bulk, but let's say $400/ton.
Bituminous coal runs about 11,000-15,000 btu/lb. To keep the math simple, I went with 14,000; that would assume that coal has approximately twice the btu/lb as corn.
If you divide and multiply all of that out, bulk feed corn and bulk bituminous are pretty close in btu/$ (68,293 and 70,000, respectively). In sacks, coal beats corn (58,333 vs 51,471), but it's still the same ballpark. Bulk coal is the clear winner, especially if you can get a better price ($350/ton brings the btu/$ to 80,000; $250/ton puts it at 112,000 -- which is exactly the same as commodity-priced corn).
Of course, you do have to factor in shipping or delivery costs. There's a TSC right next to where I do a lot of my grocery shopping, while the only time I can get to the Amish place is on my way back from taking my daughter to or from college. Factor in the convenience, and that can bring those numbers closer together.