proced-sort-interactive

proced-sort-interactive is an interactive compiled Lisp function in `proced.el'.


(proced-sort-interactive SCHEME &optional ARG)

Sort Proced buffer using SCHEME.
When called interactively, an empty string means nil, i.e., no sorting.

Prefix ARG controls sort order:
- If prefix ARG is positive (negative), sort in ascending (descending) order.
- If ARG is nil or 'no-arg and SCHEME is equal to the previous sorting scheme,
reverse the sorting order.
- If ARG is nil or 'no-arg and SCHEME differs from the previous sorting scheme,
adopt the sorting order defined for SCHEME in `proced-grammar-alist'.

Set variable `proced-sort' to SCHEME. The current sort scheme is displayed
in the mode line, using "+" or "-" for ascending or descending order.