String s1 = o1.toString(); String s2 = o2.toString(); int result = (s1.toLowerCase()).compareTo(s2.toLowerCase()); int v = 0; if (result < 0) v = -1; else if (result > 0) v = 1; return v;
return compareStrings(o1.toString(), o2.toString());
    private int compareObjects(Object o1, Object o2)    {        String s1 = o1.toString();        String s2 = o2.toString();        int result = (s1.toLowerCase()).compareTo(s2.toLowerCase());        int v = 0;        if (result < 0) v = -1;        else if (result > 0) v = 1;        return v;    }