Below is what I have in my table.
++++++++++++++++++++
Parent + Child
++++++++++++++++++++
C1 + G1
C1 + G2
C1 +
If you restructured your table a bit you could use something like:
SELECT Child,CONCAT(LPAD('',Clevel,' '),Child),etc from tablename
The restructuring is that you would need the root node in as a row with parent node of 0. You can add your own ordering with parent / child / C level to get the sequence as desired.
I know this is from a few years back, but it might save someone else some effort!