Handler definition used to compare two elements. In the case they are equal, 0 is returned. In the case a should be before b the -1 is returned. In the case a should be after b then 1 should be returned. A properly configured handler should help collections and other function to order elements.
|