Sorting annData object by observations or variables?

Hello Everybody,
I’m just getting into using anndata and I wonder if there is a way to sort the rows (observations) or columns (variables) of an anndata object? I searched for it, but couldn’t find anything. Any ideas are welcomed.

Many thanks,
Axel

1 Like

As far as I know, the only way is to break down the data structure, sort individually the pandas dataframes and then rebuild the anndata