int (String s1, String s2) { int res = new Integer(s1.length()).co<caret>mpareTo(s2.length()); if(res == 0) { res = new Character(/*reverse order!*/s2.charAt(0)).compareTo(s1.charAt(0)); } return res; }