There is an update on the question. The datasetNames are as follows:
datasetNames = {'AAAAAA', 'BBBBBB', 'CCCCCC', 'DDDDDD', 'EEEEEE', 'FFFFFF'};