pub fn sort(items: Vec<Value>, key: &str, command: Option<&str>) -> Vec<Value>Expand description
Sorts elements ascending by the scalar found at the dotted key.
Numeric values compare numerically, everything else compares as text. Elements without the key keep their relative order at the end of the list, so a partially populated payload never loses rows to sorting.