eelbrain.Dataset.sorted¶
-
Dataset.
sorted
(order, descending=False)¶ Create an sorted copy of the Dataset.
- Parameters
order (str | data-object) – Data object (Var, Factor or interactions) according to whose values to sort the Dataset, or its name in the Dataset.
descending (bool) – Sort in descending instead of an ascending order.
See also
sort
sort the Dataset in place
sort_index
Create an index that could be used to sort the Dataset