I'm trying to sort an array but I'm having trouble, it's just returning 0. I'm doing the following:
Here I draw my array:
arrayVelho.sort(compare);
After calling the compare function that compares the array data:
function compare(a,b)...
asked by
27.01.2016 / 13:29