Exactly, using either silicone pieces to separate it all out or possibly making sure that you have fish that will not mix it around since many will as a territory aspect or may when they get scared.
You can also use gravel instead for both which will prevent them from mixing as easily as sand will throughout the time.