Returns the indices that would sort this Array according to provided sorting criteria.
(self, l, reverse=False)
| 690 | return self |
| 691 | |
| 692 | def argsortBy(self, l, reverse=False): |
| 693 | """ |
| 694 | Returns the indices that would sort this Array according to |
| 695 | provided sorting criteria. |
| 696 | """ |
| 697 | return self.enumerate.sortBy(lambda e: l(e[1]), reverse=reverse)[:, 0] |
| 698 | |
| 699 | def sort(self, inplace=False, **kwargs): |
| 700 | """ Sorts this Array. """ |