CompareValue
Compares two objects for sorting.
Syntax
-
CompareValue(a, b)
-
a
andb
are any objects
-
Description
CompareValue(a, b)
returns a negative number if a
should be sorted before b
, a positive number if a
should be sorted after b
, and zero otherwise.
Examples
CompareValue(π, e)
1