method compareValues

int32 compareValues(value elem1,value elem2,value comparatorContext);

Argumente

Zurückgegebener Wert

This method returns the result of comparing elem1 and elem2:
>0 : elem1 is greater than (goes after) elem2,
=0 : elem1 is equal to elem2,
<0 : elem1 is less than (goes before) elem2.