Get rid of those fighter levels. Why do you need those? And leave Cleric! Er, keep progressing the spellcasting, but go into prestige classes! Now, this requres you to drop Dervish, but it's honestly not a big loss. You can't cast while Dancing anyways...
One side should be something like... Cleric 5/Prestige X/ Prestige X
And the other could just the classic.. Scout 4/Ranger X+