First, mix them all till sugar particles get disappeared.
then take a filter paper or cloth, it will separate the sand the remaining water and sugar solution.
then heat the sugar and water solution and contain vapor in the different apparatus.
After that sugar crystals, water, and sand all are separated.