Linked list: insertion sort

I think my code is working for only one iteration.

https://ide.codingblocks.com/s/65158