In case you don’t mind if your hand gets wet, you can try this method to clean sand in fish tank:
Use your hand to stir the substrate
Scratch and rake the sand layer to release all the dirt
Combine with water changing and filter cleaning
Wash your hand carefully after