Bash Array Sorting Task
Bash Array Sorting Task: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Bash script that sorts an array and stores the sorted result in a new array (or the same array). The script should demonstrate that the array itself is sorted, not just displayed in sorted order.
Part of PrimeIntellect/Terminal-Lego-15k.