Skip to content

`sort_index()` implementation

Ryan Curtin requested to merge rcurtin/bandicoot-code:sort_index into unstable

I adapted the radix sort implementation for sort() to instead return indices of each element.

The adaptation for stable radix sort was a little bit more tricky---I had to ensure that I was never moving points in "reverse order". Anyway, it works.

Merge request reports