(values, axis, return_argsort=False)
| 205 | |
| 206 | |
| 207 | def _ascending_sort(values, axis, return_argsort=False): |
| 208 | # Negate the values to get the ascending order from descending sort. |
| 209 | values_or_indices = _descending_sort(-values, axis, return_argsort) |
| 210 | # If not argsort, negate the values again. |
| 211 | return values_or_indices if return_argsort else -values_or_indices |
| 212 | |
| 213 | |
| 214 | _SORT_IMPL = { |
nothing calls this directly
no test coverage detected