Given the head of a linked list, return the list after sorting it in ascending order.
Click Run to execute sample tests.