How to perform 'Sort Array' in PowerShell.
# Task: Sort Array
# Language: PowerShell
function sort_array() {
# Implementation for Sort Array
$ result = ...; # Initialize variable
# TODO: Implement core logic here
# Step 1: Prepare data
# Step 2: Process Sort Array
Write-Host("Done");
}