Sand and iron fillings have the same size of particles.
It would be difficult to use a mesh to separate them. Also, sometimes , the iron filing clings well to the surface of the sand particles.
The best way to separate them is to use a bar magnet. The magnetic properties of the iron fillings will get it attracted to the bar magnet leaving the sand particles behind.