Sort a list whit element still in first position

Posted by Mercer on Stack Overflow See other posts from Stack Overflow or by Mercer
Published on 2010-05-18T12:06:07Z Indexed on 2010/05/18 12:10 UTC
Read the original article Hit count: 164

Filed under:
|
|

Hello, i have a String list

List<String> listString  = new ArrayList<String>();
listString.add("faq");
listString.add("general");
listString.add("contact");

I do some processing on the list and i want to sort this list but I want general is still in first position Thx ;)

© Stack Overflow or respective owner

Related posts about java

Related posts about sort