[Solved] insertion sort using linked list and pointers


Instead of comparing values pointed to by the pointers in statements like this

if (n->me < curr->me)

you are comparing pointers themselves.

You should rewrite the condition like

if ( *n->me < *curr->me )

solved insertion sort using linked list and pointers