pub fn collate(a: &Value, b: &Value) -> Ordering
Compare two JSON values using CouchDB collation order.