-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
sortingPut things in orderPut things in order
Description
I find that often times I would like to sort a vector and return its sortperm and I imagine having a function that returns both the sorted vector and its order is useful for say sorting DataFrames and many other applications.
Hence I propose to implement a function called sortandperm(v) which returns (sort(v), sortperm(v)) but uses a more optimized algorithm then the naive implementation
This should alleviate the slowness of #939 as well in some use cases.
carlobaldassi, haampie, aminya and LilithHafner
Metadata
Metadata
Assignees
Labels
sortingPut things in orderPut things in order