[ad_1]
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 )
[ad_2]
solved insertion sort using linked list and pointers