The recent Sonata’s have compiled good reliability ratings, pretty much equal of Camry on that score. You need to drive both to see how they feel and fit you. The Camry price seems very high for an '08. Do you need the stuff on the “loaded” Camry to make it worth $7,000 more?
If the Sonata has the features you want and need, then you have to see if you feel the Camry is worth the extra $$$? My choice would likely be the Sonata if I liked it after a test drive.