reference/array/functions/natsort.xml
f781803449007bb0e3a96c693e0eee067f7eb466
...
...
@@ -8,7 +8,7 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>bool</type><methodname>natsort</methodname>
11
+
<type>true</type><methodname>natsort</methodname>
12
12
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
...
...
@@ -19,6 +19,7 @@
19
19
(used in <function>sort</function>) can be seen in the example below.
20
20
</para>
21
21
&note.sort-unstable;
22
+
&note.reset-index;
22
23
</refsect1>
23
24
<refsect1 role="parameters">
24
25
&reftitle.parameters;
...
...
@@ -35,33 +36,31 @@
35
36
</variablelist>
36
37
</para>
37
38
</refsect1>
39
+

38
40
<refsect1 role="returnvalues">
39
41
&reftitle.returnvalues;
40
42
<para>
41
-
&return.success;
43
+
&return.true.always;
42
44
</para>
43
45
</refsect1>
44
46

45
47
<refsect1 role="changelog">
46
48
&reftitle.changelog;
47
-
<informaltable>
48
-
<tgroup cols="2">
49
-
<thead>
50
-
<row>
51
-
<entry>&Version;</entry>
52
-
<entry>&Description;</entry>
53
-
</row>
54
-
</thead>
55
-
<tbody>
56
-
<row>
57
-
<entry>5.2.10</entry>
58
-
<entry>
59
-
Zero padded numeric strings (e.g., '00005') now essentially ignore the 0 padding.
60
-
</entry>
61
-
</row>
62
-
</tbody>
63
-
</tgroup>
64
-
</informaltable>
49
+
<para>
50
+
<informaltable>
51
+
<tgroup cols="2">
52
+
<thead>
53
+
<row>
54
+
<entry>&Version;</entry>
55
+
<entry>&Description;</entry>
56
+
</row>
57
+
</thead>
58
+
<tbody>
59
+
&return.type.true;
60
+
</tbody>
61
+
</tgroup>
62
+
</informaltable>
63
+
</para>
65
64
</refsect1>
66
65

67
66
<refsect1 role="examples">
...
...
@@ -107,8 +106,7 @@ Array
107
106
]]>
108
107
</screen>
109
108
<para>
110
-
For more information see: Martin Pool's <link
111
-
xlink:href="&url.strnatcmp;">Natural Order String Comparison</link>
109
+
For more information see: Martin Pool's <link xlink:href="&url.strnatcmp;">Natural Order String Comparison</link>
112
110
page.
113
111
</para>
114
112
</example>
...
...
@@ -192,7 +190,6 @@ Array
192
190
</para>
193
191
</refsect1>
194
192
</refentry>
195
-

196
193
<!-- Keep this comment at the end of the file
197
194
Local variables:
198
195
mode: sgml
199
196