I have been using undergravel filters with powerheads for a while, 15 years. Sand will not work because it is too small. You would have to use the aquarium gravel sold at stores. Here in my input on undergravel filters. They are very excellent biofilteration IF the beneficial bacteria can stick on the gravel. Aquarium gravel is not all the same for undergravel filters. Some aquarium gravel will not be able to have any beneficial bacteria sticking on to it or just have a little of it sticking on to it. But if you get the aquarium gravel that can have a lot of beneficial bacteria sticking on to it, the undergravel filter will be the best filter in your eyes. You should use powerheads with a strong gph so that water can go through the gravel very well. The way you can tell if you have the good type of aquarium gravel is when you vacumm the gravel. When you vacumm, you should see a lot of dirt and crud coming up throught the vacumm tube. If you see just clear water going up the vacumm tube, that means that the aquarium gravel really does not have any beneficial bacteria sticking on to it which would result in an ineffective undergravel filter.
I already know that there are a lot of haters of undergravel filters but I have been using them for a while and know how they work. An effective undergravel filter can be a excellent biofilter because of their size. The size of the undergravel filter is the whole area on the bottom of your tank.
So I would not get flamed, I own Rena XP3 cannister filters and Aquaclear 110 HOB powerfilters and I know how they work.