inserts the record pointed to by pointer into the list, listname

insertinorder(plistname,pointer);