How to get values if array in the alphabetical order?

Posted by Roman on Stack Overflow See other posts from Stack Overflow or by Roman
Published on 2010-03-23T19:37:07Z Indexed on 2010/03/23 19:43 UTC
Read the original article Hit count: 339

Filed under:
|
|
|
|

I have an array of strings plus one additional string. I want to use this string and values of array to get a set of string. Then I want to order the set of string alphabetically and extract the string which is the first in the list. What is the easiest way to do it in Java?

© Stack Overflow or respective owner

Related posts about java

Related posts about order-by