ChatGPT - Efficient Array Reordering