Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!csc.ti.com!ti-csl!tilde.csc.ti.com!axis!axis!olson From: olson@aaet.csc.ti.com (Doug Olson) Newsgroups: comp.lang.c Subject: sorting doubly linked list Message-ID: Date: 13 May 91 19:21:02 GMT Sender: news@axis.dsg.ti.com (System News Administ) Distribution: comp Organization: none Lines: 23 I have a number of doubly linked lists of the type s_double_list, which is defined as: typedef struct double_list { void *next; void *prev; char *key; } s_double_list; I need an efficient method of sorting these lists based on the key field. Any help would be greatly appreciated. Thanks in advance, -- =========================================================== Doug Olson | Austin, Texas, 78714-9149 Texas Instruments | olson@aaet.csc.ti.com 12501 Research Blvd | MSGID = OLSN P.O. Box 149149, M/S 2227 | ===========================================================