We have `sort(A, dim)` but not `sortperm(A, dim)`. Is there any reason for this omission? (See also #9258, which is slightly different because `sortrows(A)` is not the same thing as `sort(A, 1)`.)