What is the origin of the word 'seed' in reference to sports?

In sports,(whatever the type), it means to position players or teams (plant them like seeds) in an arrangement so that the best, and most qualified, do not meet until late in the tournament, or competition.