Knuth, Donald Ervin. The art of computer programming : 3. Sorting and searching. 2. ed., 29. print, [updated and revised] Reading, Mass. [u.a.]: Addison-Wesley, 2012.