In Mo's Algorithm, we sort the left pointer by using
However if we consider two left pointers a and b such that
c=sqrt(N). Thus it won't matter if we sort it by
I know I am missing something, but I can't figure it out.