TableToStructuredGrid NOT Working - 3D CSV file

I have a 3D csv files with locations of x y and z column-wise. If I use TableToPoints it works however TabletoStructuredGrid is not working
TableToPoints:

TableToStructuredGrid:

Your file is not structured as expected by the the TableToStructuredGrid. You would need to have your point in the correct order, X, then Y, then Z.

Got it. Thanks