Answer
Divorce is most disliked by Allah. You should not have divorced her. Instead, you should exhaust the methods of reformation prescribed in the Qur’aan by advising her, then separating beds and then lightly beating her. If she still disobeys, then only you should consider divorce.
And Allah Ta’ala Knows Best.
Mufti Ebrahim Desai