Ordering cyclic sequence numbers