Sheep herding: from the sorting pen to new pastures