7 |
<body> |
<body> |
8 |
<h1>sort()</h1> |
<h1>sort()</h1> |
9 |
<p> |
<p> |
10 |
Sorts the values in the given array. |
Sorts the values in the given array. Since this function modifies the |
11 |
|
passed array, you must not pass a <code>const</code> or read-only |
12 |
|
array variable. |
13 |
</p> |
</p> |
14 |
|
|
15 |
<h3>Function Prototype</h3> |
<h3>Function Prototype</h3> |
33 |
<td><code>??descending??</code></td> |
<td><code>??descending??</code></td> |
34 |
<td>Integer Number</td> |
<td>Integer Number</td> |
35 |
<td>Defines in which order the array shall be sorted.<br> |
<td>Defines in which order the array shall be sorted.<br> |
36 |
<b>0</b>: The values are sorted in ascending order.<br> |
<code>0</code>: The values are sorted in ascending order.<br> |
37 |
<b>1</b>: The values are sorted in descending order.<br> |
<code>1</code>: The values are sorted in descending order.<br> |
38 |
[optional, default: <b>0</b>]</td> |
[optional, default: <code>0</code>]</td> |
39 |
</tr> |
</tr> |
40 |
</table> |
</table> |
41 |
|
|