Sorts this Array in place according to a function defining the sorting criteria.
(self, l, reverse=False)
| 681 | return Array(sorted(self, key=l, reverse=reverse)) |
| 682 | |
| 683 | def sortBy_(self, l, reverse=False): |
| 684 | """ |
| 685 | Sorts this Array in place according to a function |
| 686 | defining the sorting criteria. |
| 687 | """ |
| 688 | warn() |
| 689 | super().sort(key=l, reverse=reverse) |
| 690 | return self |
| 691 | |
| 692 | def argsortBy(self, l, reverse=False): |
| 693 | """ |