How should I sort a doubly linked list the D way?

bachmeier no at
Tue Aug 13 12:34:46 UTC 2019

On Tuesday, 13 August 2019 at 09:48:52 UTC, Mirjam Akkersdijk 

> I would write my compare function and let qsort sort it out.

I'm confused by this statement. Are you referring to the qsort in 
C's stdlib? I had never heard of using that to sort a linked 
list, so I searched, and it is not possible. "qsort works on plain arrays of equally sized data, not linked lists"

More information about the Digitalmars-d-learn mailing list