[java] How can I compare two strings in java and define which of them is smaller than the other alphabetically?