Hi,

In Python, we have this:

>>> sorted([(1, [2,3]), (1,[2,1])])
[(1, [2, 1]), (1, [2, 3])]

In Julia, this produces a MethodError:

julia> sort([(1, [2,3]), (1,[2,1])])
ERROR: MethodError: `isless` has no method matching 
isless(::Array{Int64,1}, ::Array{Int64,1})
 in isless at tuple.jl:113
 in sort! at sort.jl:221
 in sort! at sort.jl:310
 in sort! at sort.jl:402
 in sort at sort.jl:413

Is this desirable? Should this be submitted as an issue?

Thanks.


Reply via email to