How do I sort strings that contain numbers in Java

Posted by Sanju on Stack Overflow See other posts from Stack Overflow or by Sanju
Published on 2010-03-27T11:14:20Z Indexed on 2010/03/27 11:43 UTC
Read the original article Hit count: 320

Filed under:
|
|

I want to sort a String that has nr. How do I do that?

Lets say my integers are

Class2
"3"
"4"
"1"

in main I do class2.Sort();

Thanks in Advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about string