Musser, David R.. "Introspective sorting and selection algorithms." Softw. Pract. Exper. 27 , no. 8 (1997): 983--993.