Lancashire cricket legend James Anderson went unsold in the Indian Premier League auction as a teenager made history by becoming the youngest player ever to secure a deal.