How to sort an array of integers correctly How to sort an array of integers correctly arrays arrays