Stayed prison sentence ordered for man who sold drugs before fatal overdose