xo::OrderedComposite instproc __compare (private)

 <instance of xo::OrderedComposite[i]> __compare a b

Defined in /var/www/openacs/packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl

Compare two children by the configured sort attribute.

Parameters:
a (required)
First child object.
b (required)
Second child object.
Returns:
A negative number, zero, or a positive number for sort order.

Testcases:
includelet_childresources
[ show source ]
Show another procedure: