An Ijamsville man was ordered on Thursday to spend 12 years in prison on animal cruelty charges after he sexually abused a dog, authorities said. Frederick County Circuit Court Judge…