Engineering a Sort Function

@article{Bentley1993EngineeringAS,
  title={Engineering a Sort Function},
  author={Jon Louis Bentley and M. Douglas McIlroy},
  journal={Softw., Pract. Exper.},
  year={1993},
  volume={23},
  pages={1249-1265}
}
We recount the history of a new qsort function for a C library. Our function is clearer, faster and more robust than existing sorts. It chooses partitioning elements by a new sampling scheme; it partitions by a novel solution to Dijkstra’s Dutch National Flag problem; and it swaps efficiently. Its behavior was assessed with timing and debugging testbeds, and with a program to certify performance. The design techniques apply in domains beyond sorting. 
Highly Influential
This paper has highly influenced 20 other papers. REVIEW HIGHLY INFLUENTIAL CITATIONS
Recent Discussions
This paper has been referenced on Twitter 1 time over the past 90 days. VIEW TWEETS