String s1 = \"Project\"; String s2 = \"Sunject\";
I want to compare the two above string by their alphabetic order (which in this case \"Project\"
String.compareTo might or might not be what you need.
String.compareTo
Take a look at this link if you need localized ordering of strings.