Long-range dependencies in quick-sort algorithm