What is the main criterion for classifying detrital sedimentary rocks?

Particle size.