* function to insert a new_node in a Note that this function expects a * pointer to head_ref as this can modify the head of the input linked list * ( similar to push ( ) )
function sortedInsert ( newnode ) {