Explore techniques to sort a linked list containing only 0s, 1s, and 2s, optimizing sorting operations.