public String computeSig(String s) {
        if (s.equals("")) {
            return s;
        } else {
            char[] cs = s.toCharArray();
            Arrays.sort(cs);
            return new String(cs);
        }
    }