public static void main(String[] args) {
// TODO Auto-generated method stub
//int[] x1;
//x1=new int[5];
int[] x1={1,2,3,4,5,9,0,9,23,22};
int min=x1[0];
int max=x1[0];
int temp;
for(int i=0;i<x1.length;i++){
for(int j=0;j<x1.length-i-1;j++){
if(x1[j]>x1[j+1]){
temp=x1[j+1];
x1[j+1]=x1[j];
x1[j]=temp;
}
}
}
for(int i=1;i<x1.length;i++){
System.out.println(x1[i]);
}
}