Algosim documentation: CompareValue

CompareValue

Compares two objects for sorting.

Syntax

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

See also