I hope it's okay to post this. . I haven't read it, but thought it may help. It's titled "Suffering, Adversity, Depression, You Name It: The Romans 8:28 Rx Solution for Christians (and Non-Christians)"
By: Dr. John G. Weldon; ©2012
You say, "How in the world could sin work together for good? How can God cause sinful things to come out for good?"