Filter out sand from amaranth and teff
If the sand is significantly smaller than the grains, rinse the grain in an appropriately sized sieve. If the sand is denser than the grain, perhaps the grain would float and the sand would sink in a large amount of water?

If neither of those ideas work, then you may need to find another brand.