Sorting An Array In Java Without Using Collections