nushell/docs/commands/dfr_arg-sort.md

388 B

title layout version
dfr arg-sort command 0.59.1

Returns indexes for a sorted series

Signature

> dfr arg-sort --reverse

Parameters

  • --reverse: reverse order

Examples

Returns indexes for a sorted series

> [1 2 2 3 3] | dfr to-df | dfr arg-sort

Returns indexes for a sorted series

> [1 2 2 3 3] | dfr to-df | dfr arg-sort -r