int [] data = new int[100];
for(int i=0; i<data.length; i++)
data[i]= (int) (Math.random() *10000);


how would you assort this array in ascending order?