Sand dollars belong in the ocean, not a tank. They rarely, if ever, survive in a captive environment. Not even big public aquariums (like Chicago's Shedd) keep them.
Sand dollars live off the bacteria in the sand--and they eat a lot of it. In a captive system, there is not enough of it to support a sand dollar for very long. In the end you will have a dead sand bed and a dead sand dollar.