The art of computer programming Vol. 3 :Sorting and Searching - Knuth (Addison-Wesley, 1998)