sort_record

Function sort_record 

Source
pub fn sort_record(
    record: Record,
    sort_by_value: bool,
    reverse: bool,
    insensitive: bool,
    natural: bool,
) -> Result<Record, ShellError>
Expand description

Sort a record’s key-value pairs.

Can sort by key or by value.