Function nu_command::sort_value_in_place
source · pub fn sort_value_in_place(
val: &mut Value,
sort_columns: Vec<String>,
ascending: bool,
insensitive: bool,
natural: bool
) -> Result<(), ShellError>
Expand description
Sort a value in-place. This is more efficient than sort_value() because it avoids cloning, but it does not work for CustomValues; they are returned as-is.