Source for file Comparator.php
Documentation is available at Comparator.php
* Description: Describes a number of different DateTime steps
* @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
* A comparison function, which imposes a <i>total ordering</i> on some
* collection of integers. Comparators can be passed to a sort method (such as
* <tt>misc.Utils.sort</tt>) to allow precise control over the sort order.
* Compares its two arguments for order. Returns a negative integer,
* zero, or a positive integer as the first argument is less than, equal
* to, or greater than the second.<p>
* @param a the first integer to be compared.
* @param b the second integer to be compared.
* @return a negative integer, zero, or a positive integer as the
* first argument is less than, equal to, or greater than the
|