>From the error information, the comparison of Array is not implemented yet.
On Wednesday, January 20, 2016 at 4:48:40 PM UTC+1, Ted Fujimoto wrote:
>
> 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.
>
>
>