I agree with marylandfour. If you put all the numbers in to an array, you could avoid conditionals all together and just use Arrays.sort() method.
Type: Posts; User: DougFane
I agree with marylandfour. If you put all the numbers in to an array, you could avoid conditionals all together and just use Arrays.sort() method.