void merge()
{
if(start==NULL)
{
start=start2;
}
else
{
temp=start;
while(temp->next!=NULL)
{
temp=temp->next;
}
temp->next=start2;
}
temp=start;
if(start==NULL)
printf("\nList is empty");
else
{
printf("\nElements of the list:\n");
while(temp!=NULL)
{
printf("%d\t",temp->info);
temp=temp->next;
}
}
system("pause");
system("cls");
main();
}

the following code is use to merge two linked list into one and output to user the new merged list...i want to sort the integer values in ascending order and print out them to the user in this function. i mean sorting taking place inside the function.