void switchTwoRowHeaders(int rowIndex, int rowToIndex) {
        Object cellData = getRowHeaders()[rowToIndex];
        getRowHeaders()[rowToIndex] = getRowHeaders()[rowIndex];
        getRowHeaders()[rowIndex] = cellData;
    }
void switchTwoRowHeaders ( int rowIndex , int rowToIndex ) { Object cellData = getRowHeaders ( ) [ rowToIndex ] ; getRowHeaders ( ) [ rowToIndex ] = getRowHeaders ( ) [ rowIndex ] ; getRowHeaders ( ) [ rowIndex ] = cellData ; }
Switch 2 rows headers with data

@param rowIndex   row header from
@param rowToIndex row header to