I have a sorted sequence of about 200 elements. The value "rank" with double type stores place of element in this sequence. If I change place of element i