How To Sort A Linked List In Python