pub fn sort_keys(value: &Value) -> Value
Sort the keys of value (shallow) using the default UTF-16 ordering.
value
assert_eq!(sort_keys(&json!({ "b": 1, "a": 2 })), json!({ "a": 2, "b": 1 }));