void sort(struct node *start){ int datatemp; struct node *temp1,*temp2; temp1 = start; temp2 = start; for(;temp1!=NULL;temp1=temp1->link){ for(;temp2!=NULL;temp2=temp2->link){ if(temp1data; temp2->data = temp1->data; temp1->data = datatemp; } } } }