@Rishabh ,
@Anu
I was thinking, it could be like this
To get merge sort in doubly linked list
1)use 2 pointer , to find mid node
Say p and q pointing 2 middle node
make temp1 = p->next;//to make head pointer of 2nd linked list
and p->next=NULL;//to make 2nd linked list last node to be NULL
2)Now after braking the linked list, when 2 node in each list is present at last,
again by pointer exchange we do swap.
And at last it will also be done in O(nlog n)
right?