this modified traverse inserts all records of an arbitrarily ordered input list of records into an ordered list, listname, maintaining ordering

expand (plistname)

/*Inputs a series of records and

inserts them in alphabetical

order in the ordered list listname.

*/

listpointer *plistname;

{

int done;

done = FALSE;

while(!done)

processrecord(plistname,&done);

}