Wrong sort example?
wclr opened this issue · comments
Alex commented
var ediges = [ [ 'a' ],
[ 'c', 'b' ],
[ 'c' ],
[ 'd' ],
[ 'c', 'd', 'g', 'a', 'e' ],
[ 'a', 'b', 'f' ],
[ 'd', 'g' ] ]
result is : [ 'a', 'c', 'b', 'd', undefined, 'g' ]
expect something like [ 'c', 'd', 'g', 'a', 'b', 'e', 'f' ]
Alex commented
ah probably i din't get the API