<?xml version="1.0" encoding="windows-1252"?>
<node id="1018626" title="Re: Sorting complex data" created="2013-02-13 15:18:43" updated="2013-02-13 15:18:43">
<type id="11">
note</type>
<author id="647953">
sundialsvc4</author>
<data>
<field name="doctext">
&lt;p&gt;
To clarify the above ... the &lt;tt&gt;sort&lt;/tt&gt; verb allows a comparison subroutine to be specified. &amp;nbsp; That can be as simple as the &amp;ldquo;one-liner&amp;rdquo; in-between (and including) the curly braces, which uses the &lt;tt&gt;&amp;lt;=&amp;gt;&lt;/tt&gt; operator designed expressly for this purpose, or it can be a much more complicated function. &amp;nbsp; Within that function, for your further convenience, the variables &lt;tt&gt;$a&lt;/tt&gt; and &lt;tt&gt;$b&lt;/tt&gt; are magically defined.
&lt;/p&gt;</field>
<field name="root_node">
1018610</field>
<field name="parent_node">
1018610</field>
</data>
</node>
