I have passed task but when I tested my code I had wrong output. If you run code from below you will get results like there was no sort(test); command. Can some one explain why is this happening ?
Integer[] test = {13, 8, 15, 5, 17};

sort(test);

for (int i = 0; i < test.length; i++) {

    System.out.print(test[i] + ";  ");

}