NTT DATA interview question

How woud you sort a Linked List