mtuq.Dataset.sort_by_function

Dataset.sort_by_function(function, reverse=False)[source]

Sorts in-place by user-supplied function