Added "comparisons" benchmark, and fixes

The part of the code that pulls out two internal buffers really only
needs to pull out one if the second buffer can fit into the cache.
That's been fixed. Also added a counter for tracking how many times the
compare function is called for each sort algorithm.