Use Wavelist to export waves from table

Hi
I'd like to use wavelist to find all waves shown in a table
I use WaveList("*",";","WIN:")
However, it seems that the order of the list is not the order of the columns of the table. How could I achieve that ?
Use TableInfo() and inspect the value of the WAVE key in the returned string.