Skip to content

Commit 6b46885

Browse files
committed
News and compat annotation for #28902 (sort! for multidimensional arrays).
1 parent 431247e commit 6b46885

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Standard library changes
7575
* `Future.copy!` has been moved to `Base` ([#29178]).
7676
* New `ncodeunits(c::Char)` method as a fast equivalent to `ncodeunits(string(c))` ([#29153]).
7777
* `mean` and `var` now handles the empty case ([#29033]).
78+
* New `sort!(::AbstractArray; dims)` method that can sort the array along the `dims` dimension ([#28902]).
7879

7980
Compiler/Runtime improvements
8081
-----------------------------

base/sort.jl

+3
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,9 @@ See [`sort!`](@ref) for a description of possible keyword arguments.
992992
993993
To sort slices of an array, refer to [`sortslices`](@ref).
994994
995+
!!! compat "Julia 1.1"
996+
This function requires at least Julia 1.1.
997+
995998
# Examples
996999
```jldoctest
9971000
julia> A = [4 3; 1 2]

0 commit comments

Comments
 (0)