Answer:
You can use a tea net to separate the Legos and the sand. When you scoop up the sand into the net, the sand will be sifted away because it is smaller than the holes in the tea net. But, the LEGOs are much bigger, so they will remain inside the net.