Microsoft interview question

Sort a linked list. Array, string, tree, graph, Linked list, recursion, sorting, threads, locks, etc.