scipp.sort
scipp.sort#
- scipp.sort(x, key, order='ascending')#
Sort variable along a dimension by a sort key or dimension label
If
order
is ‘ascending’, sort such that values are non-decreasing according tokey
.If
order
is ‘descending’, sort such that values are non-increasing according tokey
.