How to perform 'Sort Array' in Swift.
// Task: Sort Array
// Language: Swift
func sortArray() {
// Implementation for Sort Array
var result = ...; // Initialize variable
// TODO: Implement core logic here
// Step 1: Prepare data
// Step 2: Process Sort Array
print("Done");
}