can somebody tell my why in this example if i replace line 21-25 (which works totally fine btw, it returns 3 9 11 15 48)
if (intArr[i] > intArr[i + 1]) {
                    c= intArr[i];
                    intArr[i] = intArr[i+1];
                    intArr[i + 1] = c;
        }
with
intArr[i] = Math.min(intArr[i], intArr[i+1]);
it will compile but return something like 3 3 3 9 9 which is total crap. Where do the 11 48 and 15 from the input example go? Is there something about the Math.min method I'm missing? Ignore the Math.max thing in the code I just played around with it. The Math.min line vs the commented out code-snippet counts.