Write a function that takes in the heads of two Singly Linked Lists that are in sorted order. The function should merge the lists in place (i.e., it shouldn't create a brand new list) and return the head of the merged list in sorted order.
Each LinkedList node has an integer value as well as a next, pointing to the next node in the list or to null if it's the tail of the list.