Determine the sorting of a rock given a description of the grain sizes that are present

Determine the sorting of a rock given a description of the grain sizes that are present