how to know if one string is lexicographically less than another in java code example Example: lexicographically greater string java s1.compareTo(s4)