Rename sort() to qsort()

In an effort to make the algorithm used clear.
Rename search() to bsearch() and lsearch()

Such that the complexity of the algorithm used is clear at
call site.