对字符串"100,10,1,0,15,20"中的数字进行升序排列,请实现下列代码中的sort方法。
public class Test1 {
public static String sort(String args){
collections 借口
}
public static void main(String[] args) {
String s = "100,10,1,0,15,20";
System.out.print(sort(s));//输出0,1,10,15,20,100,
}I
public class Test1 {
public static String sort(String args){
collections 借口
}
public static void main(String[] args) {
String s = "100,10,1,0,15,20";
System.out.print(sort(s));//输出0,1,10,15,20,100,
}I