switch (tableViewer.getColumnIDs()[ columnIndex ]) {
switch (cViewer.getColumnIDs()[ columnIndex ]) {
    public int compare(Viewer viewer, Object obj1, Object obj2) {        ResultInfo result1 = (ResultInfo) obj1;        ResultInfo result2 = (ResultInfo) obj2;        switch (tableViewer.getColumnIDs()[ columnIndex ]) {        case ResultTableViewer.NETWORK:            return compareStrings(result1.getNetwork().getNetworkName(), result2.getNetwork().getNetworkName());        case ResultTableViewer.NAME:            return compareStrings(result1.getName(), result2.getName());        case ResultTableViewer.SIZE:            return compareLongs(result1.getSize(), result2.getSize());        case ResultTableViewer.FORMAT:            return compareStrings(result1.getFormat(), result2.getFormat());        case ResultTableViewer.MEDIA:            return compareStrings(result1.getType(), result2.getType());        case ResultTableViewer.AVAILABILITY:            return compareIntegers(result1.getAvail(), result2.getAvail());        default:            return 0;        }    }