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