db4o

IQueryComparator.Compare Method 

Implement to compare two arguments for sorting.

int Compare(
   object first,
   object second
);

Remarks

Implement to compare two arguments for sorting. Return a negative value, zero, or a positive value if the first argument is smaller, equal or greater than the second.

See Also

IQueryComparator Interface | Db4objects.Db4o.Query Namespace