you really shouldn't be using coral sand, either gravel, normal sand or a plant substrate. also the coral substrate wont have any nutrients in it so the other plants will die soon as well. You need to either get a specific plant substrate like fluval stratum, or get sand or fine gravel and put root tabs in it. That's the basics of what you need to do, I've probably missed some stuff so if you have any questions please feel free to ask. The reason the sword died is probably a mix of lack of nutrients, and that when plants are added to a new tank parts of them sometimes die anyway.