I understand the nature of the boolean compare function. If true, do this, if false do second. What I'm not really understanding is why the array is not assigning a value to when true or false. I expect that is should be doing this but I'm seeing nothing when I run test output in between the loops.
public static void sort(String[] array) {
        String[] s = new String[array.length];
        int i;
        int j;
        for(i = 0; i <= array.length-1; i++) {
            for (j = 0; j < array.length - 1; j++) {
                System.out.println(isGreaterThan(array[i], array[1 + j]));
                if (isGreaterThan(array[i], array[1 + j])) {
                    s[i] = array[i];

                } else {
                    s[i] = array[j + 1];
                }

            }
            for(int k = 0; k < array.length; k++){
                array[i]=s[i];
            }