...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Returns the sorted array.
Scroll pagebreak |
---|
Examples
...
language | text |
---|
// Demonstrate a simple sort.
...
int $array[3];
...
$array[0] = 3;
...
$array[1] = -1;
...
$array[2] = 10;
...
int $sortedArray[] = `sortInts $array`;
...
print $sortedArray;
Additional information
Related commands
...