comefrom: <garvit244>147_1.py
code: def insertionSortList( head):
      if not head:
          return None
      
      sortedList = head
      head = head.next
      sortedList.next = None
      
      while head:
          curr = head
          head = head.next
          if curr.val <= sortedList.val:
              curr.next = sortedList
              sortedList = curr
          else:
              temp = sortedList
              while temp.next and temp.next.val < curr.val:
                  temp = temp.next
              curr.next = temp.next
              temp.next = curr
      return sortedList
masked: def sample_funcname ( var_0 ) :
      if not var_0 :
          return None
      var_1 = var_0
      var_0 = var_0.next
      var_1.next = None
      while var_0 :
          var_2 = var_0
          var_0 = var_0.next
          if var_2.val <= var_1.val :
              var_2.next = var_1
              var_1 = var_2
          else :
              var_3 = var_1
              while var_3.next and var_3.next.val < var_2.val :
                  var_3 = var_3.next
              var_2.next = var_3.next
              var_3.next = var_2
      return var_1
  