The package has a nice implementation of bitonic sort now thanks to @stev47 excellent #754, but lacks `sortperm`. Stephan, do you think it would be possible to leverage existing code to add it, or would it require a substantial redesign?