Event::compare - jcobban/Genealogy GitHub Wiki
$event->compare($other)
Up: class Event
Compare two instances of Event
. The comparison is done using the field 'eventsd'
to keep events in chronological order.
Returns a value which is greater than 0 if $other['eventsd'] is greater than $this['eventsd'], 0 if $other['eventsd'] is equal to $this['eventsd'], and value which is less than 0 if $other['eventsd'] is less than $this['eventsd'].