When you compile your code, you will notice it's the first number which is always 0.
All the others are random and within the correct range.

It's deceiving though as the Arrays.sort(numZ); makes...