Index Descending idesc
¶
Returns indices that would sort the input in descending order.
Info
- Returns indices instead of sorting the actual data
- Result can be used to reorder multiple related arrays
- Works with any comparable types
Tip
Use idesc when you need to sort multiple arrays in reverse order based on one array's order