0, i=0 nbits= 0, i=0 == After assigning 'pos' == pos=0, nbits= 0, i=0 pos=0, nbits=-0, i=0 pos=0, nbits=-0, i=0 pos=0, nbits= 0, i=0 == After sorting by 'i' == pos=0, nbits=-0, i=0 pos=0, nbits=-0, i=0 pos=0, nbits= 0, i=0 pos=0, nbits= 0, i=0 == Output == YES 0 0 0