Selectsort (int data[],int n) { int min,tmp,i,j,min_id; for (i=0; i