Datarow dividing into arrays by unique value

Hi,
I have data table, and i want to get multiple arrays of data rows out of it. Storing in each array items that has same value in column A. all the X in 1, all the Z in another one etc.
I have these files each day and unique value count in column a can differ each time…

just example not the real data table
A B C D
X
X
X
Y
Z

Hi,
If you know the values of the column A. You can use select function of datatable as datatablevariablename.select("[A] = ‘X’ "). Similarly do the same for all values of that column.

Problem is that items in column changes all the time and because of that I can’t create specific selection.