pub fn cmp_values(a: &Value, b: &Value) -> OrderingExpand description
Total order over two serde_json::Values.
Tier: Null < Bool < Number < String < Array < Object.
NaN sorts AFTER all real numbers (NaN-last), consistent with
camel_processor::sort::SortKey.
Shared by batch/stream resequencing policies (I3).