I looked around because this is about what I’m learning right now (data tables) and I couldn’t find an answer or anyone else asking this question.
My solution which isn’t efficient at all considering we know the index already exists -somewhere- is to create a new array and in a for loop, you can pass your data table through it to create a proper array with it. I think you’ll also have to use clear children just in case there are duplicates? I’m not too keen on the details, but I’m trying to find an answer as well. Maybe data tables aren’t really that great, I heard something called databases which may be better but I have yet to look it up.