opendap/src/main/java/opendap/dap/Util.java
static private void swap(String a[], int i, int j) {
        String T;
        T = a[i];
        a[i] = a[j];
        a[j] = T;
    }
static private void swap(String a[], int i, int j) {
        String T;
        T = a[i];
        a[i] = a[j];
        a[j] = T;
    }
static private void swap ( String a [ ] , int i , int j ) { String T ; T = a [ i ] ; a [ i ] = a [ j ] ; a [ j ] = T ; }
Private method to swap two elements in the array

@param a an array of <code>String</code>.
@param i the index of the first element.
@param j the index of the second element.
Private method to swap two elements in the array