eelbrain.Factor.sort_cells

Factor.sort_cells(self, order)

Reorder the cells of the Factor (in-place)

The cell order controls the order in which data are displayed in tables and plots.

Parameters:
order : sequence of str

New cell order. Needs to contain each cell exactly once.