Open martinvuyk opened 4 months ago
I agree we should provide some facilities to support sorting things beyond just in-place. This isn't currently a priority for the team, so I've put this as Postponed. We'll share more about our Q3 priorities soon to give some insights into how the community and us can build toward those goals together.
Review Mojo's priorities
What is your request?
Add argsort similar to numpy's
What is your motivation for this change?
sorting inplace is not an option if you need to sort multiple arrays keeping the same permutations
Any other details?
I don't know what would be needed in terms of
Span
's capabilities. Because that permutation should be able to affect other items.Or for now we can just return a list of indexes