eelbrain.Var.sort_index

Var.sort_index(descending=False)

Create an index that could be used to sort the Var.

Parameters

descending (bool) – Sort in descending instead of an ascending order.