Evidence of magnetoelastic spin ordering in dilute magnetic oxides