diff --git a/src/Compat.jl b/src/Compat.jl index 3c0dc5a5a..8bc244917 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -714,7 +714,6 @@ if VERSION < v"1.10.0-DEV.1404" size == IsInfinite() && throw(ArgumentError("infinite iterator $v cannot be sorted")) sort!(copymutable(v); kws...) end - sort(v::AbstractVector; kws...) = sort!(copymutable(v); kws...) # for method disambiguation Base.sort(::AbstractString; kws...) = throw(ArgumentError("sort(::AbstractString) is not supported")) Base.sort(::Tuple; kws...) =