Three-dimensional tidal sand waves