Typically sand filters use special filter sand that is .45 to .55 mm (#20 silica pool-grade sand) which has sharp edges that separate the particles allowing particles to be trapped. Initially large particles will be trapped and then as the sand loads up smaller particles will be trapped.