forgot to sort the array.....