Skip to main content

compare_values

Function compare_values 

Source
pub fn compare_values(a: &Value, b: &Value) -> Ordering
Expand description

Compare two values for sorting

Handles NULL values (NULL comes last), numeric values, strings, and other types. Used in Sort and other comparison operations.