wraps QDataSet, rearranging the elements of the first index as specified by a rank 1 data set of indeces