bugfix: quicksort pivot may change during quicksort

Once a pivot was chosen, older code kept it as pointer to the value
on array, so items in the array are swaped thus it led incorrect
sorting result.
tcache_column_store layout change
a workaround commit