Sort a linked list

pierre.volant91's Avatar, Join Date: May 2011
Newbie Member
Hi guys,

I just start to learn how to programming in C and I'm working on linked list.

I got a problem to make an exercise so if you could help me.

There is the subject :

It's about creating a circular doubly linked list in order to sort numbers.
For sorting the number I can "swap" the two first numbers or using a temporary linked list.

I try to make the list but it wasn't working and I really haven't got any idea how to sort the list.

So if you can give me a few step to follow / advises or some example,
It would be great and very helpfull.

Thanks
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
See Sort Linked List