Sheffield Wednesday boss Dave Jones says the decision to sell Chris O'Grady to Barnsley was beneficial to all concerned.